-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
32 lines (31 loc) · 2.09 KB
/
MainWindow.xaml
File metadata and controls
32 lines (31 loc) · 2.09 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
<Window x:Class="Earthworms.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:Earthworms"
mc:Ignorable="d"
Title="Earthworms" Height="450" Width="800">
<Grid Margin="10">
<Grid.Background>
<ImageBrush ImageSource="/Diagram-of-an-earthworm-Source.png"/>
</Grid.Background>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="10*"/>
<ColumnDefinition Width="10*"/>
<ColumnDefinition Width="10*"/>
<ColumnDefinition Width="10*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="10*"></RowDefinition>
<RowDefinition Height="10*"></RowDefinition>
<RowDefinition Height="10*"></RowDefinition>
<RowDefinition Height="10*"></RowDefinition>
</Grid.RowDefinitions>
<Button x:Name="InfoBtn" Content="Info...." HorizontalAlignment="Left" Margin="10,21,0,0" VerticalAlignment="Top" Width="100" Height="30" Click="InfoBtn_Click" />
<Button Grid.Column="1" x:Name="HeadBtn" Content="?" HorizontalAlignment="Left" Margin="0,10,0,0" Grid.Row="1" VerticalAlignment="Top" Width="40" Height="40" Click="HeadBtn_Click"/>
<Button x:Name="ClitBtn" Grid.Column="2" Content="?" HorizontalAlignment="Center" Margin="0,51,0,0" Grid.Row="3" VerticalAlignment="Top" Width="40" Height="40" FontSize="16" RenderTransformOrigin="0.534,0.077" Click="ClitBtn_Click"/>
<Button x:Name="ExitBtn" Content="Exit" HorizontalAlignment="Left" Margin="10,56,0,0" VerticalAlignment="Top" Width="100" Height="30" FontSize="14" Click="ExitBtn_Click"/>
<Button x:Name="AboutBtn" Grid.Column="3" Content="About" HorizontalAlignment="Left" Margin="69,21,0,0" VerticalAlignment="Top" FontSize="14" Width="100" Height="30" Click="AboutBtn_Click"/>
</Grid>
</Window>