-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
108 lines (106 loc) · 4.35 KB
/
MainWindow.xaml
File metadata and controls
108 lines (106 loc) · 4.35 KB
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
<Window
x:Class="L4D2DevTools.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ui="clr-namespace:L4D2DevTools.Themes.Controls"
x:Name="Window_Main"
Title="求生之路2 开发者工具箱 BS By CrazyZhang"
Width="700"
Height="400"
Closing="Window_Main_Closing"
Loaded="Window_Main_Loaded"
ResizeMode="CanMinimize"
WindowStartupLocation="CenterScreen"
mc:Ignorable="d">
<Grid Margin="5">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<!-- //////////////////////// -->
<StackPanel>
<WrapPanel Grid.Row="0">
<ui:ButtonIcon
x:Name="Button_VPKUnpack"
AllowDrop="True"
Click="Button_VPKUnpack_Click"
Content="VPK解包"
Drop="Button_VPKUnpack_Drop"
Icon="/Assets/Images/VPK.png" />
<ui:ButtonIcon
x:Name="Button_RunGCFScape"
AllowDrop="True"
Click="Button_RunGCFScape_Click"
Content="GCFScape"
Drop="Button_RunGCFScape_Drop"
Icon="/Assets/Images/GCFScape.png" />
<ui:ButtonIcon
x:Name="Button_RunVTFEdit"
AllowDrop="True"
Click="Button_RunVTFEdit_Click"
Content="VTFEdit"
Drop="Button_RunVTFEdit_Drop"
Icon="/Assets/Images/VTFEdit.png" />
<ui:ButtonIcon
x:Name="Button_RunBSPSource"
AllowDrop="True"
Click="Button_RunBSPSource_Click"
Content="BSPSource"
Drop="Button_RunBSPSource_Drop"
Icon="/Assets/Images/BSPSource.png" />
<ui:ButtonIcon
x:Name="Button_RunHammer"
AllowDrop="True"
Click="Button_RunHammer_Click"
Content="Hammer"
Drop="Button_RunHammer_Drop"
Icon="/Assets/Images/Hammer.png" />
</WrapPanel>
<!-- /////////////////// -->
<WrapPanel Grid.Row="1">
<ui:ButtonIcon
x:Name="Button_SetRegionEnUS"
Click="Button_SetRegionEnUS_Click"
Content="区域格式-英语美国"
Icon="/Assets/Images/RegionEnUS.png" />
<ui:ButtonIcon
x:Name="Button_SetRegionZhCN"
Click="Button_SetRegionZhCN_Click"
Content="区域格式-中文中国"
Icon="/Assets/Images/RegionZhCN.png" />
<ui:ButtonIcon
x:Name="Button_L4D2Dir"
Click="Button_L4D2Dir_Click"
Content="求生之路2目录"
Icon="/Assets/Images/L4D2Dir.png" />
<ui:ButtonIcon
x:Name="Button_L4D2Dir_Addons"
Click="Button_L4D2Dir_Addons_Click"
Content="Addons目录"
Icon="/Assets/Images/Addons.png" />
<ui:ButtonIcon
x:Name="Button_L4D2Dir_Maps"
Click="Button_L4D2Dir_Maps_Click"
Content="Maps目录"
Icon="/Assets/Images/Maps.png" />
</WrapPanel>
</StackPanel>
<!-- //////////////////////// -->
<StackPanel
Grid.Row="1"
HorizontalAlignment="Right"
Orientation="Horizontal">
<TextBlock Margin="0,0,5,0">
<Hyperlink NavigateUri="https://github.com/CrazyZhang666/L4D2DevTools" RequestNavigate="Hyperlink_RequestNavigate">
GitHub
</Hyperlink>
</TextBlock>
<CheckBox
x:Name="CheckBox_IsTopMost"
Click="CheckBox_IsTopMost_Click"
Content="窗口置顶" />
</StackPanel>
</Grid>
</Window>