星火微课系统客户端
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.

MessageWindow.xaml 3.1KB

1 年之前
1 年之前
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <Window
  2. x:Class="XHWK.WKTool.MessageWindow"
  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. Title="星火微课"
  8. Width="446"
  9. Height="188"
  10. d:DesignHeight="250"
  11. AllowsTransparency="False"
  12. MouseMove="Window_MouseMove"
  13. ResizeMode="NoResize"
  14. ShowInTaskbar="False"
  15. Style="{StaticResource ZWinStyle}"
  16. Topmost="True"
  17. WindowStartupLocation="CenterScreen"
  18. WindowState="Normal"
  19. WindowStyle="SingleBorderWindow"
  20. mc:Ignorable="d">
  21. <Border
  22. Background="White"
  23. BorderBrush="#3f6fff"
  24. BorderThickness="0">
  25. <Grid>
  26. <Grid.RowDefinitions>
  27. <RowDefinition Height="40" />
  28. <RowDefinition Height="*" />
  29. <RowDefinition Height="60" />
  30. </Grid.RowDefinitions>
  31. <Grid Grid.Row="0" Background="#3f6fff">
  32. <Label
  33. x:Name="LblTitle"
  34. Margin="14,0,0,0"
  35. HorizontalAlignment="Left"
  36. VerticalAlignment="Center"
  37. HorizontalContentAlignment="Stretch"
  38. VerticalContentAlignment="Stretch"
  39. Content="提示"
  40. FontSize="16"
  41. Foreground="White" />
  42. <Button
  43. x:Name="BorCancel"
  44. Grid.Row="0"
  45. Width="46"
  46. HorizontalAlignment="Right"
  47. VerticalAlignment="Stretch"
  48. Click="BtnCancel_Click"
  49. Content="×"
  50. Cursor="Hand"
  51. FontSize="30"
  52. Foreground="White" />
  53. </Grid>
  54. <Grid Grid.Row="1">
  55. <TextBlock
  56. x:Name="TbkContent"
  57. Margin="20,0,20,0"
  58. HorizontalAlignment="Center"
  59. VerticalAlignment="Center"
  60. FontSize="16"
  61. Foreground="#333333"
  62. Text=""
  63. TextWrapping="Wrap" />
  64. </Grid>
  65. <Grid Grid.Row="2" Margin="0,0,0,0">
  66. <Border
  67. x:Name="BorOk"
  68. Margin="0,0,10,0"
  69. HorizontalAlignment="Right"
  70. VerticalAlignment="Center"
  71. Background="#3f6fff"
  72. CornerRadius="6">
  73. <Button
  74. x:Name="BtnOk"
  75. Width="76"
  76. Height="30"
  77. Background="#00000000"
  78. BorderBrush="{x:Null}"
  79. Click="BtnOK_Click"
  80. Content="确定"
  81. Cursor="Hand"
  82. FontSize="14"
  83. Foreground="White"
  84. IsDefault="True" />
  85. </Border>
  86. </Grid>
  87. </Grid>
  88. </Border>
  89. </Window>