1234567891011121314151617181920 |
- <UserControl 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="AvaloniaApplication1.Authorization"
- xmlns:vm="using:AvaloniaApplication1.ViewModels"
- x:DataType="vm:MainWindowViewModel">
- <StackPanel HorizontalAlignment="Center" >
- <TextBlock HorizontalAlignment="Center" Margin="0,10,0,0" FontSize="20" Text="АВТОРИЗАЦИЯ"/>
- <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Width="200">
- <TextBlock HorizontalAlignment="Center" Margin="0,10,0,0" FontSize="18" Text="Логин"/>
- <TextBox Text="{Binding AuthorizationVM.Login}"/>
- <TextBlock HorizontalAlignment="Center" Margin="0,10,0,0" FontSize="18" Text="Пароль"/>
- <TextBox Text="{Binding AuthorizationVM.Pass}" PasswordChar="♪" Name="Pass"/>
- <Button HorizontalAlignment="Center" Command="{Binding GoAuth}" Margin="0,10,0,0" Content="Войти"/>
- </StackPanel>
-
- </StackPanel>
- </UserControl>
|