Demka_kur/MainWindow.axaml

19 lines
1017 B
Plaintext
Raw Normal View History

2025-02-04 11:35:26 +00:00
<Window xmlns="https://github.com/avaloniaui"
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"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="Demka_Snova_1.MainWindow"
Title="Вход в систему"
Width="800"
Height="1200">
<StackPanel Margin="10">
<TextBox x:Name="UsernameTextBox" Watermark="Логин" />
<StackPanel Orientation="Horizontal">
<TextBox x:Name="PasswordTextBox" Watermark="Пароль" PasswordChar="*" />
2025-02-04 12:40:01 +00:00
<Button x:Name="TogglePasswordButton" Content="👁" Margin="0,5, 0,0" Click="TogglePasswordButton_Click" />
2025-02-04 11:35:26 +00:00
</StackPanel>
2025-02-04 12:40:01 +00:00
<Button x:Name="LoginButton" Content="Войти" Margin="0,10" Click="LoginButton_Click" />
2025-02-04 11:35:26 +00:00
</StackPanel>
</Window>