AuthorizationWindow.xaml 1.3 KB

123456789101112131415161718192021222324252627
  1. <Window x:Class="CopyCenter.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:CopyCenter"
  7. mc:Ignorable="d"
  8. Title="Авторизация" Height="150" Width="300" WindowStartupLocation="CenterScreen" FontFamily="Century Gothic">
  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" FontFamily="Comic Sans MS"/>
  24. <Button Grid.Row="2" Grid.Column="1" Content="Зарегистрироваться" Click="Registration_Click" FontFamily="Comic Sans MS" Margin="6,5,5,5"/>
  25. </Grid>
  26. </Window>