-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTrainConfiguration.xaml
26 lines (25 loc) · 1.94 KB
/
TrainConfiguration.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
<Window x:Class="RWAnalog.TrainConfiguration"
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:RWAnalog"
mc:Ignorable="d"
Title="Train Configuration" Height="400" Width="390" MinWidth="350" MinHeight="200">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition />
</Grid.RowDefinitions>
<Grid HorizontalAlignment="Stretch" Height="42" Margin="6,5,5,0" VerticalAlignment="Top">
<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="Show options for:" VerticalAlignment="Top"/>
<ComboBox x:Name="cboxTrains" Margin="0,20,0,0" VerticalAlignment="Top" SelectionChanged="cboxTrains_SelectionChanged"/>
</Grid>
<ListBox x:Name="listboxOptions" Grid.Row="1" Margin="5,10,5,50"/>
<Button x:Name="bAddAxis" Content="Add axis" HorizontalAlignment="Right" Margin="0,0,10,30" Grid.Row="1" VerticalAlignment="Bottom" Width="80" Click="bAddAxis_Click"/>
<Button x:Name="bOK" Content="OK" HorizontalAlignment="Right" Margin="0,0,5,5" Grid.Row="1" VerticalAlignment="Bottom" Width="80" Click="bOK_Click"/>
<Button x:Name="bRemoveAxis" Content="Remove axis" HorizontalAlignment="Right" Margin="0,0,170,30" Grid.Row="1" VerticalAlignment="Bottom" Width="80" Click="bRemoveAxis_Click"/>
<Button x:Name="bEditAxis" Content="Edit axis" HorizontalAlignment="Right" Margin="0,0,90,30" Grid.Row="1" VerticalAlignment="Bottom" Width="80" Click="bEditAxis_Click"/>
<TextBlock HorizontalAlignment="Left" Margin="5,0,0,7" Grid.Row="1" TextWrapping="Wrap" Text="Controls are inactive when this dialog is open." VerticalAlignment="Bottom"/>
</Grid>
</Window>