Skip to content

Commit

Permalink
1.安装卸载批处理修改;
Browse files Browse the repository at this point in the history
2.readme修改;
3.图标修改;
  • Loading branch information
weianweigan committed Oct 9, 2020
1 parent 9393ec4 commit 2145d6e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ Click *.bat file to Install or UnInstall.
## Invoke method

<div>
<img width="600" src=".\resources\invokemethod
.png">
<img width="600" src=".\resources\invokemethod.png">
</div>

# License
Expand Down
2 changes: 1 addition & 1 deletion SldWorksLookup/Install.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ set path=%~d0
cd %path%
cd /d %~dp0

RegAsm.exe SldWorks.TestRunner.Addin.dll /codebase
RegAsm.exe SldWorksLookup.dll /codebase
pause
2 changes: 1 addition & 1 deletion SldWorksLookup/UnInstall.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ set path=%~d0
cd %path%
cd /d %~dp0

RegAsm.exe SldWorks.TestRunner.Addin.dll /u
RegAsm.exe SldWorksLookup.dll /u
pause
8 changes: 4 additions & 4 deletions SldWorksLookup/View/LookupPropertyWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@
<Button Grid.Row="1" Width="75" Height="25" Margin="0,0,120,0" Visibility="{Binding RunButtonVisibility}" Command="{Binding RunCommand}" HorizontalAlignment="Right" Grid.Column="1">Run</Button>
<Button Grid.Row="1" Width="75" Height="25" Margin="0,0,20,0" HorizontalAlignment="Right" Command="{Binding ExitCommand}" Grid.Column="1">Exit</Button>
<Grid Grid.Row="1">
<Label HorizontalAlignment="Left" VerticalAlignment="Bottom" ToolTip="Give me a star">
<Label Margin="25,0" HorizontalAlignment="Left" VerticalAlignment="Bottom" ToolTip="Give me a star">
<Hyperlink Click="Hyperlink_Click" Name="_link" NavigateUri="https://github.com/weianweigan/SolidWorksLookup">
<Image Width="15" Height="15" Source="{StaticResource GitHubDrawingImage}"></Image>
</Hyperlink>
</Label>
<Label Margin="25,0" HorizontalAlignment="Left" VerticalAlignment="Bottom" ToolTip="License and Information">
<Hyperlink Click="Hyperlink_Click" NavigateUri="https://github.com/weianweigan/SolidWorksLookup">
<Image Width="15" Height="15" Source="{StaticResource RigidRelationshipInfo_16xDrawingImage}"></Image>
<Label HorizontalAlignment="Left" VerticalAlignment="Bottom" ToolTip="License">
<Hyperlink Click="Hyperlink_Click" NavigateUri="https://github.com/weianweigan/SolidWorksLookup/blob/main/LICENSE">
<Image Width="15" Height="15" Source="{StaticResource license}"></Image>
</Hyperlink>
</Label>
</Grid>
Expand Down
8 changes: 8 additions & 0 deletions SldWorksLookup/WpfResource.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,4 +260,12 @@
</DrawingImage.Drawing>
</DrawingImage>

<DrawingImage x:Key="license">
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#FF000000" Geometry="F0 M24,24z M0,0z M12.75,2.75A0.75,0.75,0,0,0,11.25,2.75L11.25,4.5 9.276,4.5A1.75,1.75,0,0,0,8.291,4.803L6.596,5.957A0.25,0.25,0,0,1,6.455,6L2.353,6A0.75,0.75,0,1,0,2.353,7.5L3.93,7.5 0.563,15.18A0.762,0.762,0,0,0,0.773,16.06C0.853,16.124 0.934,16.185 1.082,16.281 1.268,16.402 1.534,16.559 1.874,16.714 2.554,17.025 3.536,17.334 4.75,17.334A6.919,6.919,0,0,0,7.626,16.714C7.966,16.559 8.232,16.402 8.418,16.281 8.568,16.184 8.648,16.123 8.728,16.058A0.75,0.75,0,0,0,8.937,15.18L5.569,7.5 6.455,7.5C6.806,7.5,7.149,7.394,7.439,7.197L9.135,6.043A0.25,0.25,0,0,1,9.275,6L11.25,6 11.25,20.5 6.763,20.5A0.75,0.75,0,0,0,6.763,22L17.237,22A0.75,0.75,0,0,0,17.237,20.5L12.75,20.5 12.75,6 14.724,6C14.774,6,14.824,6.015,14.864,6.043L16.561,7.197C16.851,7.394,17.194,7.5,17.545,7.5L18.431,7.5 15.063,15.18A0.75,0.75,0,0,0,15.293,16.076C15.305,16.085,15.293,16.076,15.295,16.076A3.154,3.154,0,0,0,15.605,16.282C15.79,16.394,16.055,16.538,16.395,16.682A7.343,7.343,0,0,0,19.25,17.25A7.343,7.343,0,0,0,22.106,16.681C22.444,16.538,22.71,16.394,22.896,16.282A3.5,3.5,0,0,0,23.206,16.076A0.75,0.75,0,0,0,23.436,15.18L20.07,7.5 21.648,7.5A0.75,0.75,0,0,0,21.648,6L17.546,6A0.25,0.25,0,0,1,17.406,5.957L15.709,4.803A1.75,1.75,0,0,0,14.725,4.5L12.75,4.5 12.75,2.75z M2.193,15.198A5.418,5.418,0,0,0,4.75,15.833A5.418,5.418,0,0,0,7.307,15.198L4.75,9.368 2.193,15.198z M16.703,15.174C16.785,15.214 16.877,15.257 16.978,15.3 17.508,15.523 18.283,15.75 19.25,15.75A5.846,5.846,0,0,0,21.797,15.174L19.25,9.367 16.703,15.174z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>

</ResourceDictionary>

0 comments on commit 2145d6e

Please sign in to comment.