48 lines
2.3 KiB
XML
48 lines
2.3 KiB
XML
<Window x:Class="MECF.Framework.UI.Client.ClientBase.Dialog.LoginRequestConfirmationDialog"
|
|
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"
|
|
mc:Ignorable="d"
|
|
Height="220" Width="400"
|
|
d:Background="White"
|
|
Title="Login Request Confirmation"
|
|
ResizeMode="CanResize"
|
|
WindowStyle="None"
|
|
WindowStartupLocation="CenterScreen"
|
|
Closing="Window_Closing">
|
|
<WindowChrome.WindowChrome>
|
|
<WindowChrome ResizeBorderThickness="0" CaptionHeight="0"/>
|
|
</WindowChrome.WindowChrome>
|
|
<Window.Effect>
|
|
<DropShadowEffect Color="Gray" BlurRadius="10" Direction="-90" RenderingBias="Quality" ShadowDepth="4"/>
|
|
</Window.Effect>
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="20"/>
|
|
<RowDefinition />
|
|
</Grid.RowDefinitions>
|
|
|
|
<Border Background="{StaticResource Color_BG_TopStrip}"/>
|
|
|
|
<Grid Grid.Row="1">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="50"/>
|
|
<RowDefinition />
|
|
<RowDefinition Height="70"/>
|
|
</Grid.RowDefinitions>
|
|
<TextBlock Text="Login Request" FontSize="24" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
<StackPanel Grid.Row="1" Margin="20 0" HorizontalAlignment="Center" >
|
|
<TextBlock
|
|
Text="The current user is requesting to login from somewhere, do you agree to it's request and logout from the system?"
|
|
TextWrapping="Wrap"
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14"/>
|
|
</StackPanel>
|
|
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Center">
|
|
<Button x:Name="BtnAccept" Content="Accept" VerticalAlignment="Center" Height="30" Width="120" Margin="0,0,5,0" Click="BtnAccept_Click" />
|
|
<Button x:Name="BtnRejected" Content="Reject" VerticalAlignment="Center" Height="30" Width="120" Margin="5,0,0,0" Click="BtnRejected_Click" IsCancel="True" IsDefault="True" />
|
|
</StackPanel>
|
|
</Grid>
|
|
</Grid>
|
|
</Window>
|