spc-kiosk-pb/Kiosk/Common/SPC.Kiosk.Common/Controls/MessageBoxForm.xaml
2019-06-16 14:12:09 +09:00

117 lines
6.1 KiB
XML

<Window x:Class="SPC.Kiosk.Common.MessageBoxForm"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:SPC.Kiosk.Common"
mc:Ignorable="d"
d:DesignHeight="720" d:DesignWidth="720"
ShowInTaskbar="False"
Topmost="True"
WindowStyle="None"
WindowState="Normal"
AllowsTransparency="True"
Background="Transparent">
<Grid x:Name="FormBase" Background="#C0000000" >
<Grid x:Name="BoxBase" Width="720" Height="720" Background="DarkSlateBlue">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition x:Name="ButtonStackHight" Height="60"/>
</Grid.RowDefinitions>
<Grid Grid.Row="0" >
<Grid.Background>
<SolidColorBrush Color="White"/>
</Grid.Background>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="10"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="10"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="10"/>
<RowDefinition Height="50"/>
<RowDefinition Height="10"/>
<RowDefinition Height="30"/>
<RowDefinition Height="*"/>
<RowDefinition Height="10"/>
</Grid.RowDefinitions>
<local:MutiLanguageTextBlock x:Name="MessageHeader"
Grid.Column="1"
Grid.Row="1"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Text="Message Header"
Foreground="Black"
FontSize="30"
FontWeight="Black"
TextAlignment="Left"
TextWrapping="NoWrap"
Margin="0,0,0,0"/>
<local:MutiLanguageTextBlock x:Name="MessageSubHeader"
Grid.Column="1"
Grid.Row="3"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Text="Message Sub Header"
Foreground="Black"
FontSize="24"
FontWeight="Black"
TextAlignment="Left"
TextWrapping="NoWrap"
Margin="0,0,0,0"/>
<local:MutiLanguageTextBlock x:Name="Message"
VerticalAlignment="Center"
HorizontalAlignment="Center"
Grid.Column="1"
Grid.Row="4"
Text="Test Message Block for Popup Message Box"
Foreground="Black"
FontSize="25"
FontWeight="Black"
TextAlignment="Center"
TextWrapping="Wrap"/>
</Grid>
<Grid x:Name="ButtonStack" Grid.Row="1"
VerticalAlignment="Bottom">
<local:AnimationButton x:Name="Yes_Button"
HorizontalAlignment="Left"
NormalBrush="Navy"
DownBrush="DarkGray"
SwitchOnBrush="DarkGreen"
DisableBrush="LightGray"
ClickAnimationType="TextSizeDown"
TextVisible="Visible"
TextFontSize="30"
TextFontWeight="Black"
TextForeground = "White"
DisableForeground="Black"/>
<local:AnimationButton x:Name="No_Button"
HorizontalAlignment="Center"
NormalBrush="Navy"
DownBrush="DarkGray"
SwitchOnBrush="DarkRed"
DisableBrush="LightGray"
ClickAnimationType="TextSizeDown"
TextVisible="Visible"
TextFontSize="30"
TextFontWeight="Black"
TextForeground = "White"
DisableForeground="Black"/>
<local:AnimationButton x:Name="Cancel_Button"
HorizontalAlignment="Right"
NormalBrush="Navy"
DownBrush="DarkGray"
SwitchOnBrush="Gary"
DisableBrush="LightGray"
ClickAnimationType="TextSizeDown"
TextVisible="Visible"
TextFontSize="30"
TextFontWeight="Black"
TextForeground = "White"
DisableForeground="Black"/>
</Grid>
</Grid>
</Grid>
</Window>