WaveShowBox.xaml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <Window
  2. x:Class="SHJX.Service.Library.Views.WaveShowBox"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7. xmlns:prism="http://prismlibrary.com/"
  8. xmlns:pu="clr-namespace:Panuon.UI.Silver;assembly=Panuon.UI.Silver"
  9. xmlns:vc="clr-namespace:SHJX.Service.Common.ElementHelper;assembly=SHJX.Service.Common"
  10. Title="WaveShowBox"
  11. Width="180"
  12. Height="140"
  13. prism:ViewModelLocator.AutoWireViewModel="True"
  14. vc:DialogCloseHelper.DialogResult="{Binding DialogResult}"
  15. AllowsTransparency="True"
  16. Background="Transparent"
  17. ResizeMode="NoResize"
  18. WindowStartupLocation="CenterScreen"
  19. WindowStyle="None"
  20. mc:Ignorable="d">
  21. <Grid>
  22. <Grid.RowDefinitions>
  23. <RowDefinition Height="3*" />
  24. <RowDefinition Height="10*" />
  25. </Grid.RowDefinitions>
  26. <Border
  27. Grid.Row="0"
  28. Grid.RowSpan="2"
  29. Margin="3"
  30. Background="White"
  31. BorderBrush="#6452A4"
  32. BorderThickness="3"
  33. CornerRadius="5">
  34. <Border.Effect>
  35. <DropShadowEffect
  36. BlurRadius="10"
  37. Opacity="0.8"
  38. ShadowDepth="0"
  39. Color="#929FDE" />
  40. </Border.Effect>
  41. </Border>
  42. <Border
  43. Grid.Row="0"
  44. Margin="5"
  45. Background="#6452A4"
  46. CornerRadius="5,5,0,0" />
  47. <Grid
  48. Grid.Row="0"
  49. Background="Transparent"
  50. MouseLeftButtonDown="Grid_MouseLeftButtonDown">
  51. <TextBlock
  52. Margin="10,0,0,0"
  53. HorizontalAlignment="Left"
  54. VerticalAlignment="Center"
  55. FontFamily="幼圆"
  56. FontSize="10"
  57. Foreground="White"
  58. Text="导出选择" />
  59. <Button
  60. Name="btn_wave_close"
  61. Width="20"
  62. Height="20"
  63. Margin="0,0,10,0"
  64. HorizontalAlignment="Right"
  65. VerticalAlignment="Center"
  66. pu:ButtonHelper.ClickStyle="Sink"
  67. pu:ButtonHelper.CornerRadius="15"
  68. pu:ButtonHelper.HoverBrush="#929FDE"
  69. Background="Transparent"
  70. Click="btn_wave_close_Click"
  71. Cursor="Hand">
  72. <Image
  73. Width="15"
  74. Height="15"
  75. Source="/SHJX.Service.Resource;component/Assets/Photos/关闭.png" />
  76. </Button>
  77. </Grid>
  78. <UniformGrid Grid.Row="1" Rows="2">
  79. <ComboBox
  80. Name="cmb_wave"
  81. Width="150"
  82. Height="30"
  83. pu:ComboBoxHelper.CornerRadius="7"
  84. pu:ComboBoxHelper.HoverBackground="#1E003366"
  85. pu:ComboBoxHelper.SelectedBackground="#32006699"
  86. BorderBrush="#6452A4"
  87. Cursor="Hand"
  88. Foreground="#6452A4"
  89. ItemsSource="{Binding Wavekeys}"
  90. SelectedIndex="0"
  91. SelectedItem="{Binding WaveKeyItem}" />
  92. <Button
  93. Width="80"
  94. Height="30"
  95. Margin="0,0,10,0"
  96. HorizontalAlignment="Right"
  97. pu:ButtonHelper.CornerRadius="10"
  98. pu:ButtonHelper.HoverBrush="#929FDE"
  99. Background="#6452A4"
  100. Command="{Binding WaveKeyCommand}"
  101. Content="确定"
  102. Cursor="Hand" />
  103. </UniformGrid>
  104. </Grid>
  105. </Window>