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