-
Notifications
You must be signed in to change notification settings - Fork 1
/
MainWindow.xaml
128 lines (116 loc) · 9.68 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<Window x:Class="NuSpecHelper.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="675.4" Width="525">
<Grid>
<RichTextBox VerticalScrollBarVisibility="Auto" x:Name="Report" Margin="10,188,10.429,9.857" Background="LightYellow" >
<RichTextBox.Resources>
<Style TargetType="{x:Type Paragraph}">
<Setter Property="Margin" Value="0"/>
</Style>
</RichTextBox.Resources>
</RichTextBox>
<TabControl Height="173" Margin="10,10,10.429,0" VerticalAlignment="Top">
<TabItem Header="Local">
<Grid Background="#FFE5E5E5">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="181*"/>
<ColumnDefinition Width="77*"/>
<ColumnDefinition Width="233*"/>
</Grid.ColumnDefinitions>
<Button Content="Find dependency inconsistencies in Nuspec." Margin="85,47,10,0" VerticalAlignment="Top" Click="ButtonBase_OnClick" Grid.ColumnSpan="3" />
<Button Content="Find updatable (local)" Grid.Column="0" VerticalAlignment="Top" Click="FindUpdate" Margin="85,71,10,0" Grid.ColumnSpan="3" />
<TextBox x:Name="Folder" Height="23" Margin="85,14,10,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Grid.ColumnSpan="3"/>
<Label Content="Folder:" HorizontalAlignment="Left" Margin="10,12,0,0" VerticalAlignment="Top" Width="75"/>
<Button x:Name="RemovePackageButton" IsEnabled="False" Content="Remove Unused Packages" Margin="85,95,10,0" Click="RemoveUnused" Height="22" VerticalAlignment="Top" Grid.ColumnSpan="3" />
<CheckBox x:Name="chkSaveConfig" Content="Save path config" HorizontalAlignment="Left" Margin="85,122,0,0" VerticalAlignment="Top" IsChecked="True" Grid.ColumnSpan="2"/>
</Grid>
</TabItem>
<TabItem Header="Repos">
<Grid Background="#FFE5E5E5">
<Button Content="Find packages from xbim-master missing on nuget" VerticalAlignment="Top" Click="FindMissingOnNuget" Margin="10,10,10,0" />
<Button Content="Find project dependencies missing on nuget" VerticalAlignment="Top" Click="FindProjectDependenciesMissingOnNuget" Margin="10,36,10.143,0" />
<ComboBox x:Name="CmbSelectedRepo" SelectedIndex="0" Margin="10,62,10.143,0" VerticalAlignment="Top">
<ListBoxItem Content="develop"/>
<ListBoxItem Content="master"/>
<ListBoxItem Content="nuget"/>
</ComboBox>
<Button Content="Find updatables online " VerticalAlignment="Top" Click="FindOnlineUpdatables" Margin="10,92,10.143,0" />
<Button Content="List required online packages" VerticalAlignment="Top" Click="ListRequired" Margin="10,117,10.143,0" />
</Grid>
</TabItem>
<TabItem Header="Extras">
<Grid Background="#FFE5E5E5">
<Button Content="List clr version." Click="ListClr" Margin="10,10,10,0" Height="22" VerticalAlignment="Top" />
<Button Content="Find dll Conflict" Click="FindConflict" Margin="10,37,10,0" Height="22" VerticalAlignment="Top" />
<Button Content="List Xbim Version." Click="ListXbimAssemblyVersions" Margin="10,64,10,0" Height="22" VerticalAlignment="Top" />
<Button Content="Fix c++ filter." Click="FixCFilter" Margin="10,64,10,0" Height="22" VerticalAlignment="Top" />
</Grid>
</TabItem>
<TabItem Header="Latest">
<Grid Background="#FFE5E5E5">
<GroupBox Header="Find latest valid" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Height="106" Width="473">
<Grid>
<Label Margin="10,10,0,48.429" Height="25" Width="100" HorizontalAlignment="Left">Package</Label>
<TextBox x:Name="TxtPackage" Height="23" Width="120" HorizontalAlignment="Left" Margin="110,14,0,0" TextWrapping="Wrap" Text="Xbim.Essentials" VerticalAlignment="Top" />
<Label Margin="10,40,351.714,18.429" Height="25" Width="100">Version range</Label>
<TextBox x:Name="TxtVersion" HorizontalAlignment="Left" Height="23" Margin="110,44,0,0" TextWrapping="Wrap" Text="[3.1.1,4.0.0)" VerticalAlignment="Top" Width="120"/>
<Button Margin="235,14,26.714,16.429" Click="Button_Click">Find</Button>
</Grid>
</GroupBox>
</Grid>
</TabItem>
<TabItem Header="Usage">
<Grid Background="#FFE5E5E5">
<GroupBox Header="Usage stats valid" Margin="10,10,10,0" VerticalAlignment="Top" Height="125">
<Grid>
<TextBox x:Name="UsageFolder" Height="23" Margin="85,10,10,0" TextWrapping="Wrap" Text="Squirrel.Windows\XplorerReleases" VerticalAlignment="Top"/>
<Label Content="Folder:" HorizontalAlignment="Left" Margin="10,6,0,0" VerticalAlignment="Top" Width="75"/>
<ComboBox Name="ReportType" Margin="85,38,10,44" >
<ComboBoxItem Content="IP" IsSelected="True"/>
<ComboBoxItem Content="Timeline"/>
</ComboBox>
<CheckBox Name="ReportCount" Content="Count" Margin="173,70,0,0" />
<Button Margin="0,0,0,14" Click="Map" Height="25" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="68">Map</Button>
<Button Margin="369,0,10,14" Click="Usage" Height="25" VerticalAlignment="Bottom">Report</Button>
<Button Margin="73,0,0,14" Click="Geo" Height="25" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="68" Content="Geo"/>
<Button Margin="284,0,95,14" Click="DistinctPlaces" Height="25" VerticalAlignment="Bottom" Content="Distinct places"/>
</Grid>
</GroupBox>
</Grid>
</TabItem>
<TabItem Header="GitHub">
<Grid Background="#FFE5E5E5">
<GroupBox Header="Usage stats valid" Margin="10,10,10,0" VerticalAlignment="Top" Height="125">
<Grid>
<Button Margin="10,10,0,0" Click="CommunityStats" VerticalAlignment="Top" HorizontalAlignment="Left" Width="204" >CommunityStats</Button>
<TextBox x:Name="txtAuth" HorizontalAlignment="Left" Height="23" Margin="10,35,0,0" TextWrapping="Wrap" Text="username:password" VerticalAlignment="Top" Width="204"/>
</Grid>
</GroupBox>
</Grid>
</TabItem>
<TabItem Header="OpenCascade">
<Grid Background="#FFE5E5E5">
<TextBox x:Name="OccFolder" Height="23" Margin="120,12,10,0" TextWrapping="Wrap" Text="C:\Data\Dev\3rdParty_Nobackup\occt\src" VerticalAlignment="Top"/>
<Label Content="OCCFolder" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="75"/>
<TextBox x:Name="XbimGeomFolder" Height="23" Margin="120,40,10,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top"/>
<Label Content="XbimGeomFolder" HorizontalAlignment="Left" Margin="10,38,0,0" VerticalAlignment="Top" Width="105"/>
<Button Content="Just list packages" Click="ListDependencies" Margin="9,82,0,0" Height="22" VerticalAlignment="Top" HorizontalAlignment="Left" Width="158" />
<Button Content="Make temp Project" Click="MakeProject" Margin="177,82,0,0" Height="22" VerticalAlignment="Top" HorizontalAlignment="Left" Width="124" />
<Button Content="Replace temp Project" Click="RenameProjectFiles" Margin="177,109,0,0" Height="22" VerticalAlignment="Top" HorizontalAlignment="Left" Width="124" />
<Button Content="Delete and Replace sources" Click="ReplaceOccSource" Margin="10,109,0,0" Height="22" VerticalAlignment="Top" HorizontalAlignment="Left" Width="157" />
<CheckBox x:Name="chkCsProj" Content="vcxproj" HorizontalAlignment="Left" Margin="314,87,0,0" VerticalAlignment="Top"/>
<CheckBox x:Name="chkCsProjFilter" Content="vcxproj.filters" HorizontalAlignment="Left" Margin="314,109,0,0" VerticalAlignment="Top"/>
</Grid>
</TabItem>
<TabItem Header="OSG">
<Grid Background="#FFFFaaaa">
<TextBox x:Name="osgFolder" Height="23" Margin="120,12,10,0" TextWrapping="Wrap" Text="C:\Data\Dev\XbimPrivate\osg_copy2\" VerticalAlignment="Top"/>
<Label Content="OSG Folder" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="75"/>
<Button Content="MakeRelative" Click="MakeRelativeProject" Margin="120,40,214,0" Height="22" VerticalAlignment="Top" />
<Label Content="NOT IN USE" HorizontalAlignment="Left" Margin="120,85,0,0" VerticalAlignment="Top" Width="75" FontWeight="Bold"/>
</Grid>
</TabItem>
</TabControl>
</Grid>
</Window>