-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNewDialog.xaml
28 lines (25 loc) · 1.38 KB
/
NewDialog.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
<Window x:Class="GeneticTest.NewDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="New Pool" Height="160" Width="200" WindowStyle="ToolWindow">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="AUTO"/>
<ColumnDefinition Width="AUTO"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="AUTO"/>
<RowDefinition Height="AUTO"/>
<RowDefinition Height="AUTO"/>
<RowDefinition Height="AUTO"/>
</Grid.RowDefinitions>
<Label Grid.Column="0" Grid.Row="0" Content="Image size:"/>
<Label Grid.Column="0" Grid.Row="1" Content="Image zoom:"/>
<Label Grid.Column="0" Grid.Row="2" Content="Pool size:"/>
<TextBox Name="imageSize" Grid.Column="1" Grid.Row="0" Width="100" Margin="5" Text="16"/>
<TextBox Name="imageZoom" Grid.Column="1" Grid.Row="1" Width="100" Margin="5" Text="8"/>
<TextBox Name="poolSize" Grid.Column="1" Grid.Row="2" Width="100" Margin="5" Text="16"/>
<Button Name="makeNew" Grid.Column="0" Grid.Row="3" Content="New" Margin="5" Click="makeNew_Click" />
<Button Name="cancelNew" Grid.Column="1" Grid.Row="3" Content="Cancel" Margin="5,5,36,5" Click="cancelNew_Click"/>
</Grid>
</Window>