JobNormal.xaml 4.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <UserControl x:Class="JobModule.Views.JobNormal"
  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:JobModule.Views"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800">
  9. <Border Background="#e6e6e6" Margin="8" CornerRadius="8">
  10. <Viewbox Margin="16" VerticalAlignment="Top">
  11. <Grid Width="1264" Height="760" >
  12. <Grid.RowDefinitions>
  13. <RowDefinition Height="auto"/>
  14. <RowDefinition Height="0"/>
  15. <RowDefinition/>
  16. </Grid.RowDefinitions>
  17. <UniformGrid Rows="1" >
  18. <Button Style="{StaticResource FunctionButton}" Height="140" Background="White" Margin="2" Command="{Binding PopCommand}" CommandParameter="LoadPop">
  19. <StackPanel>
  20. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="Black" FontSize="16">Load</TextBlock>
  21. <Image Source="/JobModule;component/Resources/Load.png" Height="36" Margin="0,16,0,0"/>
  22. </StackPanel>
  23. </Button>
  24. <Button Style="{StaticResource FunctionButton}" Background="White" Margin="2" Command="{Binding PopCommand}" CommandParameter="ProcessPop">
  25. <StackPanel>
  26. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="Black" FontSize="16">Process</TextBlock>
  27. <Image Source="/JobModule;component/Resources/Process.png" Height="36" Margin="0,16"/>
  28. </StackPanel>
  29. </Button>
  30. <Button Style="{StaticResource FunctionButton}" Background="White" Margin="2" Command="{Binding PopCommand}" CommandParameter="UnloadPop">
  31. <StackPanel>
  32. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="Black" FontSize="16">Unload</TextBlock>
  33. <Image Source="/JobModule;component/Resources/Unload.png" Height="36" Margin="0,16"/>
  34. </StackPanel>
  35. </Button>
  36. </UniformGrid>
  37. <UniformGrid Grid.Row="2" Columns="2" VerticalAlignment="Top">
  38. <Button Style="{StaticResource FunctionButton}" Background="White" Height="144" Margin="2" Command="{Binding PopCommand}" CommandParameter="ChargePop">
  39. <Image Source="/JobModule;component/Resources/Charge.png" Height="84" Margin="0,16"/>
  40. </Button>
  41. <Button Style="{StaticResource FunctionButton}" Background="White" Margin="2">
  42. <Image Source="/JobModule;component/Resources/Discharge.png" Height="84" Margin="0,16"/>
  43. </Button>
  44. <!--<Button Style="{StaticResource FunctionButton}" Background="White" Margin="2">
  45. <Image Source="/JobModule;component/Resources/MLoad.png" Height="84" Margin="0,16"/>
  46. </Button>
  47. <Button Style="{StaticResource FunctionButton}" Background="White" Margin="2">
  48. <Image Source="/JobModule;component/Resources/MUnload.png" Height="84" Margin="0,16"/>
  49. </Button>
  50. <Button Style="{StaticResource FunctionButton}" Background="White" Margin="2">
  51. <Image Source="/JobModule;component/Resources/SDLoad.png" Height="84" Margin="0,16"/>
  52. </Button>
  53. <Button Style="{StaticResource FunctionButton}" Background="White" Margin="2">
  54. <Image Source="/JobModule;component/Resources/SDUnload.png" Height="84" Margin="0,16"/>
  55. </Button>
  56. <Button Style="{StaticResource FunctionButton}" Background="White" Margin="2">
  57. <Image Source="/JobModule;component/Resources/EDLoad.png" Height="84" Margin="0,16"/>
  58. </Button>
  59. <Button Style="{StaticResource FunctionButton}" Background="White" Margin="2">
  60. <Image Source="/JobModule;component/Resources/EDUnload.png" Height="84" Margin="0,16"/>
  61. </Button>-->
  62. </UniformGrid>
  63. </Grid>
  64. </Viewbox>
  65. </Border>
  66. </UserControl>