MoS2/Framework/MECF.Framework.UI.Client/ClientBase/Dialog/LoginRequestConfirmationDialog.xaml

77 lines
2.8 KiB
Plaintext
Raw Normal View History

2026-08-19 14:26:19 +08:00
<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:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Title="Login Request Confirmation"
Width="400"
Height="220"
d:Background="White"
Closing="Window_Closing"
ResizeMode="NoResize"
WindowStartupLocation="CenterScreen"
mc:Ignorable="d">
2026-06-15 10:56:30 +08:00
<!--<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>
2026-08-19 14:26:19 +08:00
<RowDefinition Height="5" />
2026-06-15 10:56:30 +08:00
<RowDefinition />
</Grid.RowDefinitions>
2026-08-19 14:26:19 +08:00
<Border Background="{StaticResource Color_BG_TopStrip}" />
2026-06-15 10:56:30 +08:00
<Grid Grid.Row="1">
<Grid.RowDefinitions>
2026-08-19 14:26:19 +08:00
<RowDefinition Height="50" />
2026-06-15 10:56:30 +08:00
<RowDefinition />
2026-08-19 14:26:19 +08:00
<RowDefinition Height="70" />
2026-06-15 10:56:30 +08:00
</Grid.RowDefinitions>
2026-08-19 14:26:19 +08:00
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontSize="24"
Text="Login Request" />
<StackPanel
Grid.Row="1"
Margin="20,0"
HorizontalAlignment="Center">
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontSize="14"
2026-06-15 10:56:30 +08:00
Text="{Binding Description, RelativeSource={RelativeSource FindAncestor, AncestorType=Window}}"
2026-08-19 14:26:19 +08:00
TextWrapping="Wrap" />
2026-06-15 10:56:30 +08:00
</StackPanel>
2026-08-19 14:26:19 +08:00
<StackPanel
Grid.Row="2"
HorizontalAlignment="Center"
Orientation="Horizontal">
<Button
x:Name="BtnAccept"
Width="120"
Height="30"
Margin="0,0,5,0"
VerticalAlignment="Center"
Click="BtnAccept_Click"
Content="Accept" />
<Button
x:Name="BtnRejected"
Width="120"
Height="30"
Margin="5,0,0,0"
VerticalAlignment="Center"
Click="BtnRejected_Click"
Content="Reject"
IsCancel="True"
IsDefault="True" />
2026-06-15 10:56:30 +08:00
</StackPanel>
</Grid>
</Grid>
</Window>