星火微课系统客户端
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

MessageWindow.xaml 2.5KB

4年前
4年前
12345678910111213141516171819202122232425262728293031323334353637
  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"
  11. d:DesignHeight="250" Width="600" Height="220" MouseMove="Window_MouseMove" BorderThickness="7">
  12. <Window.Effect>
  13. <DropShadowEffect BlurRadius="10" Color="#bababa" Direction="80" ShadowDepth="0"/>
  14. </Window.Effect>
  15. <Grid>
  16. <Grid.RowDefinitions>
  17. <RowDefinition Height="50"/>
  18. <RowDefinition Height="100*"/>
  19. <RowDefinition Height="70"/>
  20. </Grid.RowDefinitions>
  21. <Grid Grid.Row="0">
  22. <Label x:Name="lblTitle" Content="提示" HorizontalAlignment="Left" Margin="14,20,0,0" VerticalAlignment="Top" Foreground="#FF333333" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" FontSize="17" FontWeight="Bold"/>
  23. </Grid>
  24. <Grid Grid.Row="1">
  25. <TextBlock x:Name="tbkContent" Margin="20,5,20,0" TextWrapping="Wrap" VerticalAlignment="Center" FontSize="15" Foreground="#FF919191" Grid.Row="1" HorizontalAlignment="Center" Text=""/>
  26. </Grid>
  27. <Grid Grid.Row="2" Margin="0,0,0,0">
  28. <Border x:Name="borOk" Background="#2D8CF0" CornerRadius="6" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,30,20">
  29. <Button x:Name="BtnOK" Width="104" Height="42" Content="确定" FontSize="17" Background="#00000000" BorderBrush="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Foreground="White" Cursor="Hand" Click="BtnOK_Click"/>
  30. </Border>
  31. <Border x:Name="borCancel" Background="#E5E5E5" CornerRadius="6" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,150,20">
  32. <Button x:Name="BtnCancel" Width="104" Height="42" Content="取消" FontSize="17" Background="#00000000" BorderBrush="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Cursor="Hand" Click="BtnCancel_Click"/>
  33. </Border>
  34. </Grid>
  35. </Grid>
  36. </Window>