MainWindow.xaml 1.3 KB

12345678910111213141516171819202122232425262728
  1. <Window x:Class="CreateAuthorize.MainWindow"
  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:CreateAuthorize"
  7. mc:Ignorable="d"
  8. Title="Авторизация" Height="200" Width="400" WindowStartupLocation = "CenterScreen">
  9. <Grid>
  10. <Grid.RowDefinitions>
  11. <RowDefinition/>
  12. <RowDefinition/>
  13. <RowDefinition/>
  14. </Grid.RowDefinitions>
  15. <Grid.ColumnDefinitions>
  16. <ColumnDefinition/>
  17. <ColumnDefinition/>
  18. <ColumnDefinition/>
  19. </Grid.ColumnDefinitions>
  20. <TextBlock Text="Логин"/>
  21. <TextBlock Text="Пароль" Grid.Row="1"/>
  22. <TextBox Name="login" Grid.Column="1" Grid.Row="0"/>
  23. <PasswordBox Name="password" Grid.Row="1" Grid.Column="1"/>
  24. <Button Grid.Row="2" Grid.Column="0" Content="Войти" Click="AuthorizaationClick"/>
  25. <Button Grid.Row="2" Grid.Column="1" Content="Зарегестрироваться" Click="RegistrationClick"/>
  26. </Grid>
  27. </Window>