116 lines
6.0 KiB
XML
116 lines
6.0 KiB
XML
<Window x:Class="SPC.Kiosk.Popup.MiniPopup"
|
|
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.Popup"
|
|
xmlns:uc ="clr-namespace:SPC.Kiosk.Common;assembly=SPC.Kiosk.Common"
|
|
xmlns:vm ="clr-namespace:SPC.Kiosk.Popup.ViewModel;assembly=SPC.Kiosk.Popup.ViewModel"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="540" d:DesignWidth="800"
|
|
ShowInTaskbar="False"
|
|
Topmost="True"
|
|
WindowStyle="None"
|
|
WindowState="Normal"
|
|
AllowsTransparency="True"
|
|
Background="Transparent">
|
|
<Window.Resources>
|
|
<uc:BoolToVisibility x:Key="ToVisibility" />
|
|
</Window.Resources>
|
|
<Window.DataContext>
|
|
<vm:VmMiniPopup/>
|
|
</Window.DataContext>
|
|
<Window.InputBindings>
|
|
<KeyBinding Modifiers="Alt" Key="F4" Command="{Binding ToExecuteNothing}" />
|
|
</Window.InputBindings>
|
|
<Grid x:Name="FormBase" Background="#C0000000">
|
|
<Grid x:Name="FrameBase" Width="800" Height="540" >
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="80"/>
|
|
</Grid.RowDefinitions>
|
|
<Border Grid.Row="0" Grid.RowSpan="2" CornerRadius="0" Background="White" />
|
|
<Grid Grid.Row="0">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="120"/>
|
|
<RowDefinition Height="130"/>
|
|
<RowDefinition Height="30"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<uc:AnimationButton x:Name="ErrorImage"
|
|
Grid.Row="1"
|
|
Width="130"
|
|
Height="130"
|
|
NormalBrush="{Binding IconNoramlBrush}"
|
|
/>
|
|
<uc:MutiLanguageTextBlock Grid.Row="3"
|
|
Width="720"
|
|
Text="메세지1"
|
|
VerticalAlignment="Top"
|
|
Foreground="Black"
|
|
FontSize="36"
|
|
FontWeight="Bold"
|
|
TextAlignment="Center"
|
|
FontFamily="NanumSquare"
|
|
Margin="0,0,0,0"
|
|
TextWrapping="Wrap"
|
|
MultiLanguage="{Binding MessageText}"
|
|
DisplayLanguage="{Binding ShowLanguageType}" />
|
|
</Grid>
|
|
<StackPanel Orientation="Vertical" VerticalAlignment="Center" Grid.Row="0">
|
|
|
|
<uc:MutiLanguageTextBlock x:Name="Message2"
|
|
VerticalAlignment="Top"
|
|
Foreground="#1469cc"
|
|
FontSize="30"
|
|
FontWeight="Normal"
|
|
TextAlignment="Center"
|
|
FontFamily="NanumSquare"
|
|
Margin="0,50,0,0"
|
|
MultiLanguage="{Binding SubMessageText}"
|
|
DisplayLanguage="{Binding ShowLanguageType}" />
|
|
</StackPanel>
|
|
<Grid Grid.Row="1">
|
|
<StackPanel x:Name="ButtonStack" Grid.Row="1"
|
|
Height="80"
|
|
Orientation="Horizontal">
|
|
<uc:AnimationButton x:Name="Cancel_Button"
|
|
VerticalAlignment="Center"
|
|
HorizontalAlignment="Left"
|
|
Width="{Binding CancelButtonWidth}"
|
|
Height="80"
|
|
NormalBrush="#333333"
|
|
BrushStretch = "Fill"
|
|
ClickAnimationType="TextSizeDown"
|
|
TextFontFamily="NanumSquare"
|
|
TextVisible ="Visible"
|
|
TextFontSize ="30"
|
|
TextForeground = "White"
|
|
TextFontWeight ="Bold"
|
|
LanguageText="{Binding CancelButtonText}"
|
|
DisplayLanguage="{Binding ShowLanguageType}"
|
|
Command="{Binding CancelCommand}"/>
|
|
<uc:AnimationButton x:Name="OK_Button"
|
|
VerticalAlignment="Center"
|
|
HorizontalAlignment="Right"
|
|
Width="{Binding OkButtonWidth}"
|
|
Height="80"
|
|
NormalBrush="#1469cc"
|
|
BrushStretch = "Fill"
|
|
DisableBrush="#aaaaaa"
|
|
ClickAnimationType="TextSizeUp"
|
|
TextVisible ="Visible"
|
|
TextFontSize ="30"
|
|
TextForeground = "White"
|
|
DisableForeground="#dddddd"
|
|
TextFontWeight ="Bold"
|
|
LanguageText="{Binding OkButtonText}"
|
|
DisplayLanguage="{Binding ShowLanguageType}"
|
|
Command="{Binding OkCommand}"/>
|
|
</StackPanel>
|
|
|
|
</Grid>
|
|
</Grid>
|
|
</Grid>
|
|
</Window>
|