Profile.xaml 4.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <Window x:Class="Rkis29.View.Profile"
  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:Rkis29.View" xmlns:viewmodel="clr-namespace:Rkis29.ViewModel" d:DataContext="{d:DesignInstance Type=viewmodel:VWRegistr}"
  7. xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
  8. mc:Ignorable="d"
  9. Title="Profile" Name="RegistWND" Height="450" Width="800">
  10. <Grid>
  11. <Grid.ColumnDefinitions>
  12. <ColumnDefinition Width="92*"/>
  13. <ColumnDefinition Width="125"/>
  14. <ColumnDefinition Width="auto"/>
  15. <ColumnDefinition Width="123*"/>
  16. <ColumnDefinition Width="123*"/>
  17. </Grid.ColumnDefinitions>
  18. <Grid.RowDefinitions>
  19. <RowDefinition/>
  20. <RowDefinition Height="45"/>
  21. <RowDefinition Height="45"/>
  22. <RowDefinition Height="45"/>
  23. <RowDefinition Height="45"/>
  24. <RowDefinition Height="45"/>
  25. <RowDefinition Height="45"/>
  26. <RowDefinition Height="101.012"/>
  27. </Grid.RowDefinitions>
  28. <Label Grid.Column="2" Content="Регистрация" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="18" Height="40" Width="142" Margin="137,21,0,0"/>
  29. <TextBox Grid.Column="2" x:Name="Login" Text="{Binding TbLogin}" FontSize="16" HorizontalAlignment="Center" Width="370" Height="40" VerticalAlignment="Top" Cursor="Arrow" Grid.Row="1" Margin="0,3,0,0"/>
  30. <TextBox Grid.Column="2" FontSize="16" Text="{Binding TbName}" HorizontalAlignment="Center" Width="370" Height="40" VerticalAlignment="Top" Cursor="Arrow" Grid.Row="3" Margin="0,3,0,0"/>
  31. <TextBox Grid.Column="2" FontSize="16" Text="{Binding TbPatronomic}" HorizontalAlignment="Center" Width="370" Height="40" VerticalAlignment="Top" Cursor="Arrow" Grid.Row="5" Margin="0,3,0,0"/>
  32. <TextBox Grid.Column="2" FontSize="16" Text="{Binding TbPhoneName}" HorizontalAlignment="Center" Width="370" Height="40" VerticalAlignment="Top" Cursor="Arrow" Grid.Row="6" RenderTransformOrigin="-0.126,1.829" Margin="0,3,0,0"/>
  33. <TextBox Grid.Column="2" FontSize="16" Text="{Binding TbSurname}" HorizontalAlignment="Center" Width="370" Height="40" VerticalAlignment="Top" Cursor="Arrow" Grid.Row="4" RenderTransformOrigin="-0.126,1.829" Margin="0,3,0,0"/>
  34. <TextBox Grid.Row="1" Grid.Column="2" Text="{Binding TbPassword}" FontSize="16" HorizontalAlignment="Center" Width="370" Height="42" VerticalAlignment="Top" Cursor="Arrow" Margin="0,45,0,0" Grid.RowSpan="2"/>
  35. <TextBlock Grid.Row="1" Grid.Column="1" Height="20" Width="60" Text="Логин:" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="14" Margin="5,23,0,0" RenderTransformOrigin="0.444,-1.183"/>
  36. <TextBlock Grid.Row="2" Grid.Column="1" Height="20" Width="60" Text="Пароль:" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="14" Margin="5,20,0,0" RenderTransformOrigin="0.444,-1.183"/>
  37. <TextBlock Grid.Row="3" Grid.Column="1" Height="20" Width="60" Text="Имя:" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="14" Margin="5,23,0,0" RenderTransformOrigin="0.444,-1.183"/>
  38. <TextBlock Grid.Row="4" Grid.Column="1" Height="20" Width="60" Text="Фамилия:" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="14" Margin="5,23,0,0" RenderTransformOrigin="0.444,-1.183"/>
  39. <TextBlock Grid.Row="5" Grid.Column="1" Height="20" Width="65" Text="Отчество:" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="14" RenderTransformOrigin="0.444,-1.183" Margin="5,23,0,0"/>
  40. <TextBlock Grid.Row="6" Grid.Column="1" Height="20" Width="115" Text="Номер телефона:" HorizontalAlignment="Center" VerticalAlignment="Top" FontSize="14" RenderTransformOrigin="0.444,-1.183" Margin="0,23,0,0"/>
  41. <Button Grid.Row="7" Grid.Column="2" Content="Регистрация" Command="{Binding Go_RegistrBt}" CommandParameter="{Binding ElementName=RegistWND}" VerticalAlignment="Top" FontSize="14" Height="31" Margin="89,31,0,0" Cursor="Hand" RenderTransformOrigin="1.137,0.639" HorizontalAlignment="Left" Width="167"/>
  42. </Grid>
  43. </Window>