Registration.xaml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <Page x:Class="PP_Ven_MosS.Pages.Registration"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:PP_Ven_MosS.Pages"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="Registration">
  10. <Grid>
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="150"></RowDefinition>
  13. <RowDefinition Height="3*"></RowDefinition>
  14. <RowDefinition Height="50"></RowDefinition>
  15. </Grid.RowDefinitions>
  16. <Grid.ColumnDefinitions>
  17. <ColumnDefinition Width="150"></ColumnDefinition>
  18. <ColumnDefinition Width="3*"></ColumnDefinition>
  19. <ColumnDefinition Width="150"></ColumnDefinition>
  20. </Grid.ColumnDefinitions>
  21. <StackPanel Grid.Column="1" Grid.Row="0">
  22. <Image Source="/Images/minin.png" Width="800" Height="150"></Image>
  23. </StackPanel>
  24. <Border Grid.Column="1" Grid.Row="1" BorderBrush="#FF0000" BorderThickness="4" CornerRadius="10">
  25. <StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Center">
  26. <TextBlock Text="Пройдите этап регистрации" FontSize="30" FontWeight="Bold" Margin="15"></TextBlock>
  27. <GroupBox Header="Фамилия" FontSize="20" Style="{StaticResource GBSt}">
  28. <TextBox Name="Surn"/>
  29. </GroupBox>
  30. <GroupBox Header="Имя" FontSize="20" Style="{StaticResource GBSt}">
  31. <TextBox Name="Nam"/>
  32. </GroupBox>
  33. <GroupBox Header="Отчество" FontSize="20" Style="{StaticResource GBSt}">
  34. <TextBox Name="Patron"/>
  35. </GroupBox>
  36. <GroupBox Header="Должность" FontSize="20" Style="{StaticResource GBSt}">
  37. <TextBox Name="Dolg" />
  38. </GroupBox>
  39. <GroupBox Header="Номер телефона" FontSize="20" Style="{StaticResource GBSt}">
  40. <TextBox Name="PhNum" />
  41. </GroupBox>
  42. <GroupBox Header="Логин" FontSize="20" Style="{StaticResource GBSt}">
  43. <TextBox Name="login" />
  44. </GroupBox>
  45. <GroupBox Header="Пароль" FontSize="20" Style="{StaticResource GBSt}">
  46. <PasswordBox Name="password" />
  47. </GroupBox>
  48. <GroupBox Header="Выберите роль" FontSize="20" Style="{StaticResource GBSt}">
  49. <ComboBox x:Name="CBRole"/>
  50. </GroupBox>
  51. <Button Margin="15" Name="Registr" FontSize="20" Click="reg_Click" Content="Завершить" Style="{StaticResource BtnSt}"></Button>
  52. <Button Margin="15" Name="Back" FontSize="20" Click="Back_Click" Content="Выйти" Style="{StaticResource BtnSt}"></Button>
  53. </StackPanel>
  54. </Border>
  55. </Grid>
  56. </Page>