终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

75 lines
2.4 KiB

  1. <Window
  2. x:Class="DosingSystem.View.MainWindow"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:control="clr-namespace:BPASmartClient.CustomResource.UserControls;assembly=BPASmartClient.CustomResource"
  6. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7. xmlns:local="clr-namespace:DosingSystem"
  8. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9. xmlns:pry="clr-namespace:BPASmartClient.CustomResource.UserControls;assembly=BPASmartClient.CustomResource"
  10. Title="MainWindow"
  11. Width="800"
  12. Height="450"
  13. AllowsTransparency="True"
  14. Background="{x:Null}"
  15. Opacity="0.8"
  16. Topmost="False"
  17. WindowStartupLocation="CenterScreen"
  18. WindowStyle="None"
  19. mc:Ignorable="d">
  20. <Grid>
  21. <Grid.RowDefinitions>
  22. <RowDefinition Height="50" />
  23. <RowDefinition />
  24. </Grid.RowDefinitions>
  25. <!--#region 标题栏设置-->
  26. <Border
  27. x:Name="MoveBorder"
  28. Height="50"
  29. VerticalAlignment="Top"
  30. Background="#0C2349"
  31. BorderBrush="#55ffffff"
  32. BorderThickness="0,0,0,1">
  33. <StackPanel Orientation="Horizontal">
  34. <Image Margin="15,5,0,5" Source="pack://application:,,,/BPASmartClient.CustomResource;component/Image/HBL.png" />
  35. <TextBlock
  36. Name="tbTitle"
  37. Margin="20,0"
  38. HorizontalAlignment="Left"
  39. VerticalAlignment="Center"
  40. FontSize="18"
  41. Foreground="White"
  42. Text="配料演示系统" />
  43. </StackPanel>
  44. </Border>
  45. <UniformGrid
  46. Width="150"
  47. Height="50"
  48. HorizontalAlignment="Right"
  49. Columns="3">
  50. <Button
  51. Name="ButMin"
  52. Content="&#xe624;"
  53. Style="{StaticResource TitleBarStyle}" />
  54. <Button
  55. Name="ButMax"
  56. Content="&#xe645;"
  57. Style="{StaticResource TitleBarStyle}" />
  58. <Button
  59. Name="ButClose"
  60. Content="&#xe62f;"
  61. Style="{StaticResource TitleBarStyle}" />
  62. </UniformGrid>
  63. <!--#endregion-->
  64. </Grid>
  65. </Window>