RegistrationWindow.xaml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <Window x:Class="RegiAut.RegistrationWindow"
  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="500">
  9. <Grid>
  10. <Grid.RowDefinitions>
  11. <RowDefinition/>
  12. <RowDefinition/>
  13. <RowDefinition/>
  14. <RowDefinition/>
  15. <RowDefinition/>
  16. <RowDefinition/>
  17. </Grid.RowDefinitions>
  18. <Grid.ColumnDefinitions>
  19. <ColumnDefinition/>
  20. <ColumnDefinition/>
  21. </Grid.ColumnDefinitions>
  22. <TextBlock Text="Логин" Grid.Row="0" Grid.Column="0"/>
  23. <TextBlock Text="Пароль" Grid.Row="1" Grid.Column="0"/>
  24. <TextBlock Text="Фамилия" Grid.Row="2" Grid.Column="0"/>
  25. <TextBlock Text="Имя" Grid.Row="3" Grid.Column="0"/>
  26. <TextBlock Text="Отчество" Grid.Row="4" Grid.Column="0"/>
  27. <TextBox Name="login" Grid.Row="0" Grid.Column="1"/>
  28. <PasswordBox Name="password" Grid.Row="1" Grid.Column="1"/>
  29. <TextBox Name="lastName" Grid.Row="2" Grid.Column="1"/>
  30. <TextBox Name="firstName" Grid.Row="3" Grid.Column="1"/>
  31. <TextBox Name="secondName" Grid.Row="4" Grid.Column="1"/>
  32. <Button Content="Зарегестрироваться" Grid.Row="5" Grid.Column="0" Click="RegistrationClick"/>
  33. <Button Content="Отмена" Grid.Row="5" Grid.Column="1" Click="CancelClick"/>
  34. </Grid>
  35. </Window>