Browse Source

Изменения

Ethosa 3 years ago
parent
commit
144186fd3d

+ 1 - 1
Тураев_БД 11.20.1/MainWindow.xaml

@@ -17,7 +17,7 @@
         </Grid.ColumnDefinitions>
         <Rectangle Fill="#FFF4F4F5" Grid.Row="2" StrokeThickness="0"/>
         <Button Content="Назад" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="75"/>
-        <Frame Content="MainFrame" Grid.Row="1"/>
+        <Frame Content="MainFrame" Source="Pages/AuthPage.xaml" Grid.Row="1"/>
 
     </Grid>
 </Window>

+ 4 - 4
Тураев_БД 11.20.1/Pages/AuthPage.xaml

@@ -23,11 +23,11 @@
         <TextBox HorizontalAlignment="Left" Height="23" Margin="132.107,206,0,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Width="120" Grid.Row="1" Grid.Column="1"/>
         <Label Content="" HorizontalAlignment="Left" Margin="144.107,153,0,0" VerticalAlignment="Top" Grid.Row="1" Grid.Column="1"/>
         <Label Content="Логин" Grid.Column="1" Grid.Row="1" VerticalAlignment="Top" Height="26"/>
-        <TextBox Grid.Column="2" Height="27" Margin="0,112,0,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Grid.RowSpan="2"/>
+        <TextBox Grid.Column="2" Height="27" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Grid.Row="1"/>
         <Label Content="Пароль" Grid.Column="1" Grid.Row="1" VerticalAlignment="Top" Height="26" Margin="0,31,0,0"/>
-        <TextBox Grid.Column="2" Height="27" Margin="0,31,0,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Grid.Row="1"/>
-        <Button Content="Вход" Grid.Column="2" Margin="0,63,0,0" Grid.Row="1" VerticalAlignment="Top"/>
-        <Button Content="Регистрация" Grid.Column="2" Margin="0,88,0,0" Grid.Row="1" VerticalAlignment="Top"/>
+        <TextBox Grid.Column="2" Height="27" Margin="0,31,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Grid.Row="1"/>
+        <Button Click="ButtonEnter_OnClick" Content="Вход" Grid.Column="2" Margin="0,65,0,0" Grid.Row="1" VerticalAlignment="Top"/>
+        <Button Content="Регистрация" Grid.Column="2" Margin="0,90,0,0" Grid.Row="1" VerticalAlignment="Top"/>
 
     </Grid>
 </Page>

+ 5 - 0
Тураев_БД 11.20.1/Pages/AuthPage.xaml.cs

@@ -24,5 +24,10 @@ namespace Тураев_БД_11._20._1.Pages
         {
             InitializeComponent();
         }
+
+        private void ButtonEnter_OnClick(object sender, RoutedEventArgs e)
+        {
+
+        }
     }
 }