ULpControl.xaml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <UserControl x:Class="EapClientSimulator.ULpControl"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:EapClientSimulator"
  7. mc:Ignorable="d"
  8. d:DesignHeight="90" d:DesignWidth="550" Loaded="UserControl_Loaded">
  9. <Grid>
  10. <Grid.ColumnDefinitions>
  11. <ColumnDefinition Width="100"></ColumnDefinition>
  12. <ColumnDefinition Width="100"></ColumnDefinition>
  13. <ColumnDefinition Width="100"></ColumnDefinition>
  14. <ColumnDefinition Width="100"></ColumnDefinition>
  15. <ColumnDefinition Width="*"></ColumnDefinition>
  16. </Grid.ColumnDefinitions>
  17. <Grid.RowDefinitions>
  18. <RowDefinition Height="45"></RowDefinition>
  19. <RowDefinition Height="45"></RowDefinition>
  20. </Grid.RowDefinitions>
  21. <Button Grid.Column="0" Grid.Row="0" Content="ReadID" Name="btnReadId" Click="btnReadId_Click" Width="70" Height="30"></Button>
  22. <Button Grid.Column="1" Grid.Row="0" Content="LoadID" Name="btnLoadId" Click="btnLoadId_Click" Width="70" Height="30"></Button>
  23. <DockPanel Grid.Column="2" Grid.Row="0">
  24. <Button Content="PPSelect" Name="btnPPSelect" Click="btnPPSelect_Click" Width="70" VerticalAlignment="Center" DockPanel.Dock="Left" Height="30"></Button>
  25. </DockPanel>
  26. <Button Grid.Column="3" Grid.Row="0" Width="70" Name="btnStart" Content="Start" Click="btnStart_Click" Height="30"></Button>
  27. <Button Grid.Column="4" Grid.Row="0" Width="70" Name="btnUnload" Content="Unload" Click="btnUnload_Click" Height="30"></Button>
  28. <Button Grid.Column="0" Grid.Row="1" Width="70" Name="btnStop" Content="Stop" Click="btnStop_Click" Height="30"></Button>
  29. <Button Grid.Column="1" Grid.Row="1" Width="70" Name="btnAbort" Content="Abort" Click="btnAbort_Click" Height="30"></Button>
  30. <Button Grid.Column="2" Grid.Row="1" Width="70" Name="btnPause" Content="Pause" Click="btnPause_Click" Height="30"></Button>
  31. <Button Grid.Column="3" Grid.Row="1" Width="70" Name="btnResume" Content="Resume" Click="btnResume_Click" Height="30"></Button>
  32. <Button Grid.Column="4" Grid.Row="1" Width="80" Name="btnMapCassette" Content="MapCassette" Click="btnMapCassette_Click" Height="30"></Button>
  33. </Grid>
  34. </UserControl>