Browse Source

форма 1

Ethosa 3 years ago
parent
commit
b068736903
2 changed files with 57 additions and 0 deletions
  1. 31 0
      Pages/AuthPage.xaml
  2. 26 0
      Pages/AuthPage.xaml.cs

+ 31 - 0
Pages/AuthPage.xaml

@@ -0,0 +1,31 @@
+<Page x:Class="bebra.Pages.AuthPage"
+      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
+      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
+      xmlns:local="clr-namespace:bebra.Pages"
+      mc:Ignorable="d" 
+      d:DesignHeight="300" d:DesignWidth="300"
+      Title="Авторизация">
+
+    <Grid Background="White">
+        <Grid.RowDefinitions>
+            <RowDefinition Height="*"/>
+            <RowDefinition Height="225"/>
+            <RowDefinition Height="*"/>
+        </Grid.RowDefinitions>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition Width="*"/>
+            <ColumnDefinition Width="50"/>
+            <ColumnDefinition Width="170"/>
+            <ColumnDefinition Width="1*"/>
+        </Grid.ColumnDefinitions>
+        <Label Content="логин" HorizontalAlignment="Center" Margin="0,37,0,0" VerticalAlignment="Top" Height="19" Width="50" Grid.Column="1" Grid.RowSpan="2"/>
+        <TextBox HorizontalAlignment="Center" Margin="0,37,0,0" Text="TextBox" TextWrapping="Wrap" VerticalAlignment="Top" Width="170" Grid.Column="2" Height="19" Grid.RowSpan="2"/>
+        <Label Content="Пароль" HorizontalAlignment="Center" Margin="0,30,0,0" VerticalAlignment="Top" Height="19" Width="50" Grid.Column="1" Grid.Row="1"/>
+        <TextBox HorizontalAlignment="Center" Margin="0,30,0,0" Text="TextBox" TextWrapping="Wrap" VerticalAlignment="Top" Width="170" Grid.Column="2" Height="19" Grid.Row="1"/>
+        <Button Content="Вход" Grid.Column="2" HorizontalAlignment="Center" Margin="0,72,0,0" Grid.Row="1" VerticalAlignment="Top" Width="170"/>
+        <Button Content="Регистрация" Grid.Column="2" HorizontalAlignment="Center" Grid.Row="1" VerticalAlignment="Center" Width="170"/>
+
+    </Grid>
+</Page>

+ 26 - 0
Pages/AuthPage.xaml.cs

@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace bebra.Pages
+{
+    /// <summary>
+    /// Логика взаимодействия для AuthPage.xaml
+    /// </summary>
+    public partial class AuthPage : Page
+    {
+        public AuthPage()
+        {
+            InitializeComponent();
+        }
+    }
+}