-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainWindow.xaml
51 lines (51 loc) · 2.42 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
<Window x:Class="SciLors_Mashed_Trainer.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:uc="clr-namespace:SciLors_Mashed_Trainer.Controls"
Title="{Binding ProgramTitle}" Height="940" Width="1330" Closing="Window_Closing">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="20"/>
<RowDefinition MinHeight="545"/>
<RowDefinition MinHeight="130"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Menu Grid.Row="0">
<Menu.ItemsPanel>
<ItemsPanelTemplate>
<DockPanel HorizontalAlignment="Stretch"/>
</ItemsPanelTemplate>
</Menu.ItemsPanel>
<MenuItem Header="File">
<!--Separator /-->
<MenuItem Name="mniExit" Header="Exit" Click="mniExit_Click" />
</MenuItem>
<MenuItem Header="About" HorizontalAlignment="Right">
<MenuItem x:Name="mniCheckForUpdate" Header="Check for updates" Click="mniCheckForUpdate_Click"/>
<Separator />
<MenuItem x:Name="mniMashedRunner" Header="Mashed Runner" Click="mniMashedRunner_Click"/>
<Separator />
<MenuItem x:Name="mniDonate" Header="Donate" Click="mniDonate_Click"/>
<MenuItem x:Name="mniWebsite" Header="Website" Click="mniWebsite_Click"/>
<Separator />
</MenuItem>
</Menu>
<TabControl Name="tabMain" Grid.Row="1">
<TabItem Header="Players" Name="taiPlayers">
<Grid Name="grdPlayers">
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<uc:UcPlayerInfo x:Name="ucPlayerInfo" Header="Player" Grid.Column="0" />
</Grid>
</TabItem>
</TabControl>
<uc:UcGameInfo x:Name="ucGameInfo" Grid.Row="2"/>
<StatusBar Height="23" Name="stsMain" VerticalAlignment="Bottom" Grid.Row="3" Margin="0,0,0,0">
<TextBlock HorizontalAlignment="Left" Name="txtStatus" Text="" VerticalAlignment="Top" />
</StatusBar>
</Grid>
</Window>