-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathLock_screen.xaml
More file actions
71 lines (61 loc) · 3.44 KB
/
Lock_screen.xaml
File metadata and controls
71 lines (61 loc) · 3.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<Controls:MetroWindow
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
WindowState="Maximized"
UseNoneWindowStyle="True"
WindowStyle="None"
ResizeMode="NoResize"
Topmost="True"
Left="0" Top="0" Height="0" Width="0"
IgnoreTaskbarOnMaximize="True"
>
<Window.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<!-- Create Metro Style -->
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colors.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Cobalt.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Window.Resources>
<Window.Background>
<SolidColorBrush Opacity="0.7" Color="#0077D6"/>
</Window.Background>
<Grid >
<StackPanel Orientation="Vertical" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,15,0,0">
<StackPanel Orientation="Vertical" HorizontalAlignment="Center" Margin="0,0,0,0">
<Label Content="Your computer is not supported anymore" FontSize="17" Margin="0,0,0,0" Foreground="White" HorizontalAlignment="Center"/>
<Label Content="Please contact your IT support." FontSize="17" Margin="0,0,0,0" Foreground="White" HorizontalAlignment="Center"/>
<Label Content="Type the password to close this warning" FontSize="17" Margin="0,0,0,0" Foreground="White" HorizontalAlignment="Center"/>
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal" >
<StackPanel HorizontalAlignment="Center" Orientation="Vertical" Margin="0,20,0,0">
<PasswordBox
Name="Typed_PWD" Width="220" Height="30" Margin="5,0,0,0"
Controls:TextBoxHelper.ClearTextButton="{Binding RelativeSource={RelativeSource Self}, Path=(Controls:TextBoxHelper.HasText), Mode=OneWay}"
Controls:TextBoxHelper.IsWaitingForData="True"
Controls:TextBoxHelper.Watermark="Type the IT password"
Style="{StaticResource MetroButtonRevealedPasswordBox}"
FontSize="14"
/>
</StackPanel>
<StackPanel HorizontalAlignment="Center" Orientation="Vertical" Margin="2,20,0,0">
<StackPanel Orientation="Horizontal">
<Button Height="30" Width="30" x:Name="Enter_TS" BorderThickness="0" Margin="0,0,0,0"
Style="{DynamicResource SquareButtonStyle}" Cursor="Hand" Background="#2196f3">
<iconPacks:PackIconMaterial FontWeight="Bold" Foreground="White" Kind="loginvariant" Height="17"/>
</Button>
</StackPanel>
</StackPanel>
</StackPanel>
<Label Name="PWD_Status" FontWeight="Bold" FontSize="17" Margin="0,10,0,0" Foreground="Yellow" HorizontalAlignment="Center"/>
</StackPanel>
</StackPanel>
</Grid>
</Controls:MetroWindow>