AuthorizationWindow.xaml 1.2 KB

1234567891011121314151617181920212223242526
  1. <Window x:Class="RegiAut.AuthorizationWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:RegiAut"
  7. mc:Ignorable="d"
  8. Title="Авторизация" Height="400" Width="400">
  9. <Grid>
  10. <Grid.RowDefinitions>
  11. <RowDefinition/>
  12. <RowDefinition/>
  13. <RowDefinition/>
  14. </Grid.RowDefinitions>
  15. <Grid.ColumnDefinitions>
  16. <ColumnDefinition/>
  17. <ColumnDefinition/>
  18. </Grid.ColumnDefinitions>
  19. <TextBlock Text="Логин"/>
  20. <TextBlock Text="Пароль" Grid.Row="1"/>
  21. <TextBox Name="login" Grid.Column="1" Grid.Row="0"/>
  22. <PasswordBox Name="password" Grid.Column="1" Grid.Row="1"/>
  23. <Button Grid.Row="2" Grid.Column="0" Content="Войти" Click="AuthorizationClick"/>
  24. <Button Grid.Row="2" Grid.Column="1" Content="Зарегистрироваться" Click="RegistrationClick"/>
  25. </Grid>
  26. </Window>