120 lines
6.3 KiB
Plaintext
120 lines
6.3 KiB
Plaintext
|
<Window x:Class="SPC.Kiosk.Popup.CallEmployee"
|
||
|
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="1010" d:DesignWidth="1300"
|
||
|
ShowInTaskbar="False"
|
||
|
Topmost="True"
|
||
|
WindowStyle="None"
|
||
|
WindowState="Normal"
|
||
|
AllowsTransparency="True"
|
||
|
Background="Transparent">
|
||
|
<Window.Resources>
|
||
|
<uc:BoolToVisibility x:Key="ToVisibility" />
|
||
|
</Window.Resources>
|
||
|
<Window.DataContext>
|
||
|
<vm:VmCallEmployee/>
|
||
|
</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="1300" Height="1010" Background="White">
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="*"/>
|
||
|
<RowDefinition Height="80"/>
|
||
|
</Grid.RowDefinitions>
|
||
|
<Grid Grid.Row="0">
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition Width="10"/>
|
||
|
<ColumnDefinition Width="*"/>
|
||
|
<ColumnDefinition Width="10"/>
|
||
|
</Grid.ColumnDefinitions>
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="10"/>
|
||
|
<RowDefinition Height="*"/>
|
||
|
<RowDefinition Height="10"/>
|
||
|
</Grid.RowDefinitions>
|
||
|
<StackPanel Grid.Column="1"
|
||
|
Grid.Row="1"
|
||
|
Orientation="Vertical"
|
||
|
VerticalAlignment="Center"
|
||
|
HorizontalAlignment="Center">
|
||
|
<uc:AnimationButton x:Name="CallIamge"
|
||
|
HorizontalAlignment="Center"
|
||
|
Width="130"
|
||
|
Height="130"
|
||
|
NormalBrush="{Binding CallImage}"/>
|
||
|
<uc:MutiLanguageTextBlock x:Name="Message1"
|
||
|
Text="메세지1"
|
||
|
VerticalAlignment="Center"
|
||
|
Foreground="Black"
|
||
|
FontSize="42"
|
||
|
FontWeight="Bold"
|
||
|
TextAlignment="Center"
|
||
|
FontFamily="NanumSquare"
|
||
|
Margin="0,75,0,0"
|
||
|
MultiLanguage="{Binding MessageText}"
|
||
|
DisplayLanguage="{Binding ShowLanguageType}" />
|
||
|
<uc:MutiLanguageTextBlock x:Name="Message2"
|
||
|
Text="메세지2"
|
||
|
VerticalAlignment="Center"
|
||
|
Foreground="Black"
|
||
|
FontSize="42"
|
||
|
FontWeight="Bold"
|
||
|
TextAlignment="Center"
|
||
|
FontFamily="NanumSquare"
|
||
|
Margin="0,10,0,0"
|
||
|
MultiLanguage="{Binding InfomationText}"
|
||
|
DisplayLanguage="{Binding ShowLanguageType}"
|
||
|
/>
|
||
|
|
||
|
</StackPanel>
|
||
|
</Grid>
|
||
|
<Grid Grid.Row="1">
|
||
|
<StackPanel 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="TextSizeDown"
|
||
|
TextVisible ="Visible"
|
||
|
TextFontSize ="30"
|
||
|
TextForeground = "White"
|
||
|
DisableForeground="#dddddd"
|
||
|
TextFontWeight ="Bold"
|
||
|
Enabled="{Binding OKButtonEnabled}"
|
||
|
LanguageText="{Binding OkButtonText}"
|
||
|
DisplayLanguage="{Binding ShowLanguageType}"
|
||
|
Command="{Binding OkCommand}"/>
|
||
|
</StackPanel>
|
||
|
</Grid>
|
||
|
</Grid>
|
||
|
</Grid>
|
||
|
</Window>
|