This commit is contained in:
kp9lk
2026-11-27 10:00:32 +03:00
commit 7de029b4bd
13 changed files with 278 additions and 0 deletions
@@ -0,0 +1,28 @@
<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="SampleDesktop.LoginWindow"
Title="SampleDesktop">
<StackPanel
Orientation="Vertical"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Spacing="10"
MinWidth="250">
<TextBlock Text="Email"/>
<TextBox
Name="LoginBox"
PlaceholderText="Введите логин"/>
<TextBlock Text="Password"/>
<TextBox
Name="Password"
PlaceholderText="Введите пароль"/>
<Button Name="LoginButton"
Content="Войти"
HorizontalAlignment="Stretch"
HorizontalContentAlignment="Center"
Click="LoginButton_OnClick"/>
</StackPanel>
</Window>