星火微课系统客户端
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

MessageWindow.xaml 3.1KB

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