-
Notifications
You must be signed in to change notification settings - Fork 0
/
NFA.xaml
52 lines (51 loc) · 1.8 KB
/
NFA.xaml
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
<Window x:Class="InformationSecurity.NFA"
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"
xmlns:local="clr-namespace:InformationSecurity"
mc:Ignorable="d"
ResizeMode="CanMinimize"
Title="Лабка ИБ — Код доступа"
Height="250" Width="300">
<Grid Margin="10">
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<TextBox
Grid.Row="1" Grid.Column="1"
VerticalAlignment="Center"
HorizontalAlignment="Stretch"
TextAlignment="Center"
Name="КодДоступа"
Text="Код доступа"
InputScope="Number"
GotFocus="TextBox_GotFocus"
LostFocus="TextBox_LostFocus"
TextChanged="TextBox_TextChanged"
/>
<Button
Grid.Row="1" Grid.Column="1"
VerticalAlignment="Bottom"
HorizontalAlignment="Stretch"
Content="Войти"
IsDefault="True"
Click="Button_Click"
/>
<Button
Grid.Row="2" Grid.Column="2"
VerticalAlignment="Bottom"
HorizontalAlignment="Stretch"
Content="Разлогинится"
IsCancel="True"
Click="Button_ClickLogOut"
/>
</Grid>
</Window>