You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
2.0 KiB
XML
34 lines
2.0 KiB
XML
<Window x:Class="SlnMesnac.WPF.Page.SystemAlarmWindow"
|
|
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:SlnMesnac.WPF.Page"
|
|
mc:Ignorable="d"
|
|
Title="Alarm" Height="350" Width="600" WindowStyle="None" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" Background="Red">
|
|
<Border Margin="5" Background="LightGoldenrodYellow" CornerRadius="10">
|
|
<Border.Effect>
|
|
<DropShadowEffect Color="White" ShadowDepth="0" BlurRadius="5" Opacity="0.3" Direction="0"></DropShadowEffect>
|
|
</Border.Effect>
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="3*"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Grid.Row="0" Text="系 统 报 警 信 息" FontSize="26" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
<Border Grid.Row="1" BorderBrush="White" BorderThickness="2" CornerRadius="5" Background="White" Margin="10">
|
|
<TextBlock Text="{Binding AlarmMsg}" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" TextWrapping="Wrap"/>
|
|
</Border>
|
|
|
|
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Center" Margin="10,0">
|
|
<Button Content="确 认" FontSize="16" Style="{StaticResource BUTTON_AGREE}" Width="100" Height="30" Background="#FF36B5C1" BorderBrush="#FF36B5C1" Margin="0,0,10,0" Command="{Binding ConfirmCommand}" />
|
|
<Button Content="取 消" FontSize="16" Style="{StaticResource BUTTON_AGREE}" Width="100" Height="30" Background="#FF0033" BorderBrush="#FF0033" Margin="10,0,0,0" Command="{Binding CancelCommand}" />
|
|
</StackPanel>
|
|
</Grid>
|
|
</Border>
|
|
|
|
</Window>
|