-
Notifications
You must be signed in to change notification settings - Fork 4
/
MainWindow.xaml
113 lines (92 loc) · 3.77 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
<Window x:Class="CEDataStructParser.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:local="clr-namespace:CEDataStructParser"
mc:Ignorable="d"
Height="400" Width="800"
Background="#36393F"
WindowStyle="None"
AllowsTransparency="True"
ResizeMode="CanResizeWithGrip">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="25"/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="200"/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<!-- Main Form Title Bar -->
<Border Grid.ColumnSpan="2"
Background="Lavender"
MouseDown="Border_MouseDown">
<Grid HorizontalAlignment="Stretch">
<Label Content="CheatEngine Struct Parser"
Foreground="Goldenrod"
FontWeight="SemiBold"/>
<StackPanel HorizontalAlignment="Right"
Orientation="Horizontal">
<Button Width="20" Height="20"
Content="🗕"
Background="Transparent"
BorderThickness="0"
Foreground="Gray"
FontWeight="Bold"
Margin="0,0,0,3"
Click="ButtonMinimize_Click"/>
<Button Width="20" Height="20"
Content="☐"
Background="Transparent"
BorderThickness="0"
Foreground="Gray"
FontWeight="Bold"
Click="ButtonMaximize_Click"/>
<Button Width="20" Height="20"
Content="✕"
Background="Transparent"
BorderThickness="0"
Foreground="Gray"
FontWeight="Bold"
Click="ButtonExit_Click"/>
</StackPanel>
</Grid>
</Border>
<!-- -->
<TextBox Grid.Row="1"
Height="25"
Width="200"
HorizontalAlignment="Left"
Text="<ClassName>"
TextWrapping="Wrap"
VerticalAlignment="Top"
Name="ClassNameEntry_TextBox"
Background="Gray"/>
<Button Grid.Row="1"
Width="200"
Content="PARSE XML to C++"
HorizontalAlignment="Center"
BorderThickness="1"
FontWeight="SemiBold"
VerticalAlignment="Top" Margin="0,25,0,0"
Click="ParseTable_Click"/>
<Button Grid.Row="1"
Width="200"
Content="CLEAR TABLE"
HorizontalAlignment="Center"
BorderThickness="1"
FontWeight="SemiBold"
VerticalAlignment="Top" Margin="0,45,0,0"
Click="ClearTable_Click"/>
<!-- -->
<RichTextBox Grid.Column="1" Grid.Row="1" Name="DataTable_RichTextBox" Background="DarkGray">
<FlowDocument>
<Paragraph>
<Run Text="Paste Cheat Engine XML Content Here"/>
</Paragraph>
</FlowDocument>
</RichTextBox>
</Grid>
</Window>