Authorization.xaml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <Window x:Class="Control_DB_Railway.Authorization"
  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:Control_DB_Railway"
  7. mc:Ignorable="d"
  8. WindowStartupLocation="CenterScreen"
  9. ResizeMode="NoResize"
  10. Title="Авторизация"
  11. Height="225"
  12. Width="200">
  13. <Grid Margin="0,0,0,-6">
  14. <Grid.RowDefinitions>
  15. <RowDefinition Height="75"/>
  16. <RowDefinition Height="75"/>
  17. <RowDefinition Height="50"/>
  18. </Grid.RowDefinitions>
  19. <!--Логин-->
  20. <TextBlock Grid.Row="0"
  21. HorizontalAlignment="Left"
  22. TextWrapping="Wrap"
  23. Text="Логин"
  24. VerticalAlignment="Top"
  25. Margin="40,18,0,0"/>
  26. <TextBox Name="textBox_login"
  27. Grid.Row="0"
  28. HorizontalAlignment="Center"
  29. Text=""
  30. VerticalAlignment="Top"
  31. Width="120"
  32. Margin="0,39,0,0"/>
  33. <!--Пароль-->
  34. <TextBlock Grid.Row="1"
  35. HorizontalAlignment="Left"
  36. TextWrapping="Wrap"
  37. Text="Пароль"
  38. Margin="40,18,0,0"
  39. VerticalAlignment="Top"/>
  40. <PasswordBox Name="passwordBox_password"
  41. Grid.Row="1"
  42. Width="120"
  43. VerticalAlignment="Top"
  44. HorizontalAlignment="Center"
  45. Margin="0,39,0,0"/>
  46. <!--Кнопка-->
  47. <Button Name="buttonLoginSystem"
  48. Grid.Row="2"
  49. Content="Войти"
  50. HorizontalAlignment="Center"
  51. VerticalAlignment="Top"
  52. RenderTransformOrigin="0.527,0.453"
  53. Click="buttonLoginSystem_Click"/>
  54. </Grid>
  55. </Window>