-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAddAxis.xaml
24 lines (23 loc) · 2.31 KB
/
AddAxis.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
<Window x:Class="RWAnalog.AddAxis"
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="Add Axis" Height="260" Width="300" ResizeMode="CanResize" MinWidth="200" MinHeight="150" Topmost="True">
<Grid>
<TextBlock HorizontalAlignment="Left" Margin="10,10,0,0" TextWrapping="Wrap" Text="Name" VerticalAlignment="Top"/>
<TextBox x:Name="tboxName" HorizontalAlignment="Stretch" Margin="10,30,10,0" TextWrapping="Wrap" Text="Unnamed" VerticalAlignment="Top"/>
<TextBlock HorizontalAlignment="Left" Margin="10,60,0,0" TextWrapping="Wrap" Text="Train Control" VerticalAlignment="Top"/>
<TextBox x:Name="tboxControlName" Margin="10,80,170,0" TextWrapping="Wrap" Text="Detect or Pick" VerticalAlignment="Top" IsReadOnly="True"/>
<Button x:Name="bPickControl" Content="Pick" HorizontalAlignment="Right" Margin="0,80,10,0" VerticalAlignment="Top" Width="30" Height="18" Click="bPickControl_Click"/>
<Button x:Name="bDetectControl" Content="Detect (Ctrl+Shift+F11)" HorizontalAlignment="Right" Margin="0,80,40,0" VerticalAlignment="Top" Width="130" Height="18" Click="bDetectControl_Click"/>
<Button x:Name="bOK" Content="OK" HorizontalAlignment="Right" Margin="0,0,5,5" VerticalAlignment="Bottom" Width="70" Click="bOK_Click"/>
<TextBlock HorizontalAlignment="Left" Margin="10,110,0,0" TextWrapping="Wrap" Text="Controller Axis" VerticalAlignment="Top"/>
<TextBox x:Name="tboxAxisName" Margin="10,130,50,0" TextWrapping="Wrap" Text="Pick" VerticalAlignment="Top" IsReadOnly="True"/>
<Button x:Name="bPickAxis" Content="Pick" HorizontalAlignment="Right" Margin="0,130,10,0" VerticalAlignment="Top" Width="40" Height="18" Click="bPickAxis_Click"/>
<TextBlock HorizontalAlignment="Left" Margin="10,165,0,0" TextWrapping="Wrap" Text="Sensitivity Graph" VerticalAlignment="Top"/>
<Button x:Name="bEditGraph" Content="Edit Graph" HorizontalAlignment="Right" Margin="0,163,10,0" VerticalAlignment="Top" Width="100" Click="bEditGraph_Click"/>
</Grid>
</Window>