WindowReg.xaml 6.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <Window x:Class="Met_Fam.WindowReg"
  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:Met_Fam"
  7. mc:Ignorable="d"
  8. Title="Metal Family" WindowState="Maximized" WindowStyle="ThreeDBorderWindow">
  9. <Window.Resources>
  10. <Style TargetType="TextBlock" x:Key="zagolovok">
  11. <Setter Property="FontSize" Value="80"/>
  12. <Setter Property="HorizontalAlignment" Value="Center"/>
  13. <Setter Property="VerticalAlignment" Value="Center"/>
  14. <Setter Property="FontFamily" Value="Rockwell Extra Bold"/>
  15. </Style>
  16. <Style TargetType="TextBlock" x:Key="reklama">
  17. <Setter Property="FontSize" Value="30" />
  18. <Setter Property="FontFamily" Value="Rockwell Extra Bold"/>
  19. <Setter Property="HorizontalAlignment" Value="Center"/>
  20. </Style>
  21. </Window.Resources>
  22. <Grid>
  23. <Grid.RowDefinitions>
  24. <RowDefinition Height="100"/>
  25. <RowDefinition Height="100"/>
  26. <RowDefinition/>
  27. </Grid.RowDefinitions>
  28. <Grid.ColumnDefinitions>
  29. <ColumnDefinition/>
  30. </Grid.ColumnDefinitions>
  31. <DockPanel LastChildFill="True">
  32. <TextBlock Text="Metal Family" Style="{StaticResource zagolovok}" />
  33. </DockPanel>
  34. <DockPanel Grid.Row="1" Background="#FFA0A5F3">
  35. <DockPanel HorizontalAlignment="Center">
  36. <TextBlock Text="У нас Вы сможете: " VerticalAlignment="Center" Margin="0,0,33,0" FontSize="30" FontFamily="Rockwell Extra Bold"></TextBlock>
  37. <Image Source="img/з.png" Width="30" VerticalAlignment="Center"></Image>
  38. <TextBlock Text=" приобрести музыкальный инструмент " VerticalAlignment="Center" Margin="0,0,33,0" FontSize="30" FontFamily="Rockwell Extra Bold"></TextBlock>
  39. <Image Source="img/з.png" Width="30" VerticalAlignment="Center"></Image>
  40. <TextBlock Text=" пройти видеокурс начинающего музыканта " VerticalAlignment="Center" Margin="0,0,33,0" FontSize="30" FontFamily="Rockwell Extra Bold"></TextBlock>
  41. </DockPanel>
  42. </DockPanel>
  43. <ScrollViewer Grid.Row="2" Margin="0,20,0,0">
  44. <StackPanel>
  45. <DockPanel HorizontalAlignment="Center" Width="700">
  46. <Image Source="img/з.png" Width="30" VerticalAlignment="Center"></Image>
  47. <TextBlock Text="Фамилия" VerticalAlignment="Center" Margin="0,0,33,0" FontSize="30" FontFamily="Rockwell Extra Bold"></TextBlock>
  48. <TextBox x:Name="txtSuName" MinWidth="500" BorderBrush="#FF6C73E6" BorderThickness="0,0,0,2"/>
  49. </DockPanel>
  50. <DockPanel HorizontalAlignment="Center" Width="700" Margin="0,15,0,0">
  51. <Image Source="img/з.png" Width="30" VerticalAlignment="Center"></Image>
  52. <TextBlock Text="Имя" VerticalAlignment="Center" Margin="0,0,20,0" FontSize="30" FontFamily="Rockwell Extra Bold"></TextBlock>
  53. <TextBox x:Name="txtName" MinWidth="500" BorderBrush="#FF6C73E6" BorderThickness="0,0,0,2"/>
  54. </DockPanel>
  55. <DockPanel HorizontalAlignment="Center" Width="700" Margin="0,15,0,0">
  56. <Image Source="img/з.png" Width="30" VerticalAlignment="Center"></Image>
  57. <TextBlock Text="Логин" VerticalAlignment="Center" Margin="0,0,33,0" FontSize="30" FontFamily="Rockwell Extra Bold"></TextBlock>
  58. <TextBox x:Name="txtLogin" MinWidth="500" BorderBrush="#FF6C73E6" BorderThickness="0,0,0,2"/>
  59. </DockPanel>
  60. <DockPanel HorizontalAlignment="Center" Width="700" Margin="0,15,0,0">
  61. <Image Source="img/з.png" Width="30" VerticalAlignment="Center"></Image>
  62. <TextBlock Text="Пароль" VerticalAlignment="Center" Margin="0,0,33,0" FontSize="30" FontFamily="Rockwell Extra Bold"></TextBlock>
  63. <PasswordBox x:Name="txtPass" MinWidth="500" BorderBrush="#FF6C73E6" BorderThickness="0,0,0,2"/>
  64. </DockPanel>
  65. <DockPanel HorizontalAlignment="Center" Width="700" Margin="0,15,0,0">
  66. <Image Source="img/з.png" Width="30" VerticalAlignment="Center"></Image>
  67. <TextBlock Text="Телефон" VerticalAlignment="Center" Margin="0,0,33,0" FontSize="30" FontFamily="Rockwell Extra Bold"></TextBlock>
  68. <TextBox x:Name="txtPhon" MinWidth="500" BorderBrush="#FF6C73E6" BorderThickness="0,0,0,2"/>
  69. </DockPanel>
  70. <DockPanel HorizontalAlignment="Center" Width="700" Margin="0,15,0,0">
  71. <Image Source="img/з.png" Width="30" VerticalAlignment="Center"></Image>
  72. <TextBlock Text="Адрес" VerticalAlignment="Center" Margin="0,0,33,0" FontSize="30" FontFamily="Rockwell Extra Bold"></TextBlock>
  73. <TextBox x:Name="txtAdres" MinWidth="500" BorderBrush="#FF6C73E6" BorderThickness="0,0,0,2"/>
  74. </DockPanel>
  75. <Border BorderBrush="#FF6C73E6" Background="#FFA0A5F3" BorderThickness="1" CornerRadius="10,10,10,10" Width="450" Height="50" Margin="0, 15, 0,0">
  76. <Button Click="Button_Click" BorderBrush="#FFA0A5F3" Background="#FFA0A5F3" Content ="Зарегестрироваться" FontFamily="Rockwell Extra Bold" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="25" Padding="0,5,0,5"></Button>
  77. </Border>
  78. <StackPanel Height="3" Background="#FFA0A5F3" Margin="0,65,0,5"></StackPanel>
  79. <StackPanel Orientation="Horizontal" Height="300" HorizontalAlignment="Center" >
  80. <Image Source="img/FON.jpg"></Image>
  81. <Image Source="img/FON.jpg"></Image>
  82. <Image Source="img/FON.jpg"></Image>
  83. <Image Source="img/FON.jpg"></Image>
  84. </StackPanel>
  85. <StackPanel Height="3" Background="#FFA0A5F3" Margin="0,5,0,50"></StackPanel>
  86. </StackPanel>
  87. </ScrollViewer>
  88. </Grid>
  89. </Window>