Sign in.xaml 1.4 KB

12345678910111213141516171819202122232425
  1. <Window x:Class="OUP.Sign_in"
  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:OUP"
  7. mc:Ignorable="d"
  8. Title="Sign_in" Height="450" Width="400">
  9. <Grid>
  10. <Grid.ColumnDefinitions>
  11. <ColumnDefinition/>
  12. <ColumnDefinition/>
  13. </Grid.ColumnDefinitions>
  14. <Grid.RowDefinitions>
  15. <RowDefinition/>
  16. <RowDefinition/>
  17. <RowDefinition/>
  18. </Grid.RowDefinitions>
  19. <TextBlock Margin="5" HorizontalAlignment="Right" VerticalAlignment="Center" Text="Логин"></TextBlock>
  20. <TextBlock Margin="5" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Row="1" Text="Пароль"></TextBlock>
  21. <TextBox Grid.Column="1" VerticalAlignment="Center" Margin="5" Text="{Binding Login}"></TextBox>
  22. <TextBox Grid.Column="1" Grid.Row="1" VerticalAlignment="Center" Margin="5" Text="{Binding Password}"></TextBox>
  23. <Button Height="30" Width="150" Margin="5" Content="Войти" Grid.Column="1" Grid.Row="2" Command="{Binding AuthCommand}" Click="Button_Click"></Button>
  24. </Grid>
  25. </Window>