BoatSlotDiagram.xaml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <UserControl x:Class="UniversalControls.Controls.BoatSlotDiagram"
  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:UniversalControls.Controls"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800">
  9. <UserControl.Resources>
  10. <ResourceDictionary >
  11. <ResourceDictionary.MergedDictionaries>
  12. <ResourceDictionary Source="/UICommon;component/Resources.xaml"/>
  13. </ResourceDictionary.MergedDictionaries>
  14. </ResourceDictionary>
  15. </UserControl.Resources>
  16. <Grid>
  17. <Grid.ColumnDefinitions>
  18. <ColumnDefinition Width="auto"/>
  19. <ColumnDefinition Width="8"/>
  20. <ColumnDefinition Width="180"/>
  21. </Grid.ColumnDefinitions>
  22. <UniformGrid Columns="1" VerticalAlignment="Center">
  23. <Border BorderBrush="Black" BorderThickness="0.5">
  24. <StackPanel Margin="4">
  25. <TextBlock Margin="4">Upper SDNum:</TextBlock>
  26. <Button Style="{StaticResource FunctionButton}" Background="White" BorderThickness="1" Height="24" Foreground="Black" Margin="4">0</Button>
  27. </StackPanel>
  28. </Border>
  29. <Border BorderBrush="Black" BorderThickness="0.5,0">
  30. <StackPanel Margin="4">
  31. <TextBlock Margin="4">Product Num:</TextBlock>
  32. <Button Style="{StaticResource FunctionButton}" Background="White" BorderThickness="1" Height="24" Foreground="Black" Margin="4">0</Button>
  33. </StackPanel>
  34. </Border>
  35. <Border BorderBrush="Black" BorderThickness="0.5">
  36. <StackPanel Margin="4">
  37. <TextBlock Margin="4">Monitor1 Num:</TextBlock>
  38. <Button Style="{StaticResource FunctionButton}" Background="White" BorderThickness="1" Height="24" Foreground="Black" Margin="4">0</Button>
  39. </StackPanel>
  40. </Border>
  41. <Border BorderBrush="Black" BorderThickness="0.5,0">
  42. <StackPanel Margin="4">
  43. <TextBlock Margin="4">Monitor2 Num:</TextBlock>
  44. <Button Style="{StaticResource FunctionButton}" Background="White" BorderThickness="1" Height="24" Foreground="Black" Margin="4">0</Button>
  45. </StackPanel>
  46. </Border>
  47. <Border BorderBrush="Black" BorderThickness="0.5">
  48. <StackPanel Margin="4">
  49. <TextBlock Margin="4">Lower SDNum:</TextBlock>
  50. <Button Style="{StaticResource FunctionButton}" Background="White" BorderThickness="1" Height="24" Foreground="Black" Margin="4">0</Button>
  51. </StackPanel>
  52. </Border>
  53. </UniformGrid>
  54. <TextBlock Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Center">Demo Here</TextBlock>
  55. </Grid>
  56. </UserControl>