spc-kiosk-pb/Kiosk/Popup/SPC.Kiosk.Popup/StepInfoPopup.xaml
2019-06-16 14:12:09 +09:00

136 lines
7.3 KiB
XML

<Window x:Class="SPC.Kiosk.Popup.StepInfoPopup"
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" />
<uc:NumericToString x:Key="ToString" />
<uc:NumericExistToVisibility x:Key="ExistToVisibility" />
<uc:CodeToMultiLanguage x:Key="ToMultiLanguage"/>
</Window.Resources>
<Window.DataContext>
<vm:VmStepInfoPopup/>
</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="192"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<StackPanel Orientation="Vertical"
HorizontalAlignment="Center"
Margin="0,66,0,0">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
<uc:MutiLanguageTextBlock Grid.Row="0"
Text="할인/적립없이,"
VerticalAlignment="Top"
Foreground="Black"
FontSize="36"
FontWeight="Bold"
TextAlignment="Center"
FontFamily="NanumSquare"
TextWrapping="Wrap"
DisplayLanguage="{Binding ShowLanguageType}" />
<uc:MutiLanguageTextBlock Grid.Row="0"
Text="바로 결제"
VerticalAlignment="Top"
Foreground="#1469cc"
FontSize="36"
FontWeight="Bold"
TextAlignment="Center"
FontFamily="NanumSquare"
TextWrapping="Wrap"
DisplayLanguage="{Binding ShowLanguageType}" />
<uc:MutiLanguageTextBlock Grid.Row="0"
Text="를 하시려면"
VerticalAlignment="Top"
Foreground="Black"
FontSize="36"
FontWeight="Bold"
TextAlignment="Center"
FontFamily="NanumSquare"
TextWrapping="Wrap"
DisplayLanguage="{Binding ShowLanguageType}" />
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
<uc:MutiLanguageTextBlock Grid.Row="0"
Text="STEP 03"
VerticalAlignment="Top"
Foreground="#1469cc"
FontSize="36"
FontWeight="Bold"
TextAlignment="Center"
FontFamily="NanumSquare"
TextWrapping="Wrap"
DisplayLanguage="{Binding ShowLanguageType}" />
<uc:MutiLanguageTextBlock Grid.Row="0"
Text="을 선택하세요."
VerticalAlignment="Top"
Foreground="Black"
FontSize="36"
FontWeight="Bold"
TextAlignment="Center"
FontFamily="NanumSquare"
TextWrapping="Wrap"
DisplayLanguage="{Binding ShowLanguageType}" />
</StackPanel>
</StackPanel>
<uc:MediaPlayer x:Name="StepGIF"
Grid.Row="1"
VerticalAlignment="Top"
Width="700"
Height="220"
Margin="0,0,0,0"
RepeatMedia="True"
MediaFile="{Binding StepIamge}"/>
</Grid>
<Grid Grid.Row="1">
<StackPanel x:Name="ButtonStack" Grid.Row="1"
Height="80"
Orientation="Horizontal">
<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>