|
12345678910111213141516171819202122232425262728293031323334353637 |
- <Window x:Class="XHWK.WKTool.MessageWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:XHWK.WKTool"
- mc:Ignorable="d"
- Title="星火微课" WindowStartupLocation="CenterScreen"
- WindowStyle="None" AllowsTransparency="True" WindowState="Normal"
- ShowInTaskbar="False" Topmost="True" ResizeMode="NoResize"
- d:DesignHeight="250" Width="600" Height="220" MouseMove="Window_MouseMove" BorderThickness="7">
- <Window.Effect>
- <DropShadowEffect BlurRadius="10" Color="#bababa" Direction="80" ShadowDepth="0"/>
- </Window.Effect>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="50"/>
- <RowDefinition Height="100*"/>
- <RowDefinition Height="70"/>
- </Grid.RowDefinitions>
- <Grid Grid.Row="0">
- <Label x:Name="lblTitle" Content="提示" HorizontalAlignment="Left" Margin="14,20,0,0" VerticalAlignment="Top" Foreground="#FF333333" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" FontSize="17" FontWeight="Bold"/>
- </Grid>
- <Grid Grid.Row="1">
- <TextBlock x:Name="tbkContent" Margin="20,5,20,0" TextWrapping="Wrap" VerticalAlignment="Center" FontSize="15" Foreground="#FF919191" Grid.Row="1" HorizontalAlignment="Center" Text=""/>
- </Grid>
- <Grid Grid.Row="2" Margin="0,0,0,0">
- <Border x:Name="borOk" Background="#EE3A52" CornerRadius="6" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,30,20">
- <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"/>
- </Border>
- <Border x:Name="borCancel" Background="#E5E5E5" CornerRadius="6" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,150,20">
- <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"/>
- </Border>
- </Grid>
-
- </Grid>
- </Window>
|