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

123456789101112131415161718192021222324252627282930313233343536
  1. <Window x:Class="XHWK.WKTool.MessageWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:XHWK.WKTool"
  7. mc:Ignorable="d"
  8. Title="星火微课" WindowStartupLocation="CenterScreen"
  9. WindowStyle="None" AllowsTransparency="True" WindowState="Normal"
  10. ShowInTaskbar="False" Topmost="True" ResizeMode="NoResize" d:DesignHeight="250" Width="600" Height="220" BorderThickness="5,5,5,5" MouseMove="Window_MouseMove">
  11. <Window.Effect>
  12. <DropShadowEffect BlurRadius="8" Color="#FF060606" Direction="80" ShadowDepth="0"/>
  13. </Window.Effect>
  14. <Grid>
  15. <Grid.RowDefinitions>
  16. <RowDefinition Height="50"/>
  17. <RowDefinition Height="100*"/>
  18. <RowDefinition Height="70"/>
  19. </Grid.RowDefinitions>
  20. <Grid Grid.Row="0">
  21. <Label x:Name="lblTitle" Content="提示" HorizontalAlignment="Left" Margin="14,20,0,0" VerticalAlignment="Top" Foreground="#FF333333" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" FontSize="17" FontWeight="Bold"/>
  22. </Grid>
  23. <Grid Grid.Row="1">
  24. <TextBlock x:Name="tbkContent" Margin="20,5,20,0" TextWrapping="Wrap" VerticalAlignment="Center" FontSize="15" Foreground="#FF919191" Grid.Row="1" HorizontalAlignment="Center" Text=""/>
  25. </Grid>
  26. <Grid Grid.Row="2" Margin="0,0,0,0">
  27. <Border x:Name="borOk" Background="#EE3A52" CornerRadius="6" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,30,20">
  28. <Button x:Name="BtnOK" Width="104" Height="42" Content="确定" FontSize="18" Background="#00000000" BorderBrush="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Foreground="White" Cursor="Hand" Click="BtnOK_Click"/>
  29. </Border>
  30. <Border x:Name="borCancel" Background="#E5E5E5" CornerRadius="6" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,150,20">
  31. <Button x:Name="BtnCancel" Width="104" Height="42" Content="取消" FontSize="18" Background="#00000000" BorderBrush="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Cursor="Hand" Click="BtnCancel_Click"/>
  32. </Border>
  33. </Grid>
  34. </Grid>
  35. </Window>