Добавьте файлы проекта.
This commit is contained in:
43
musicschoolapp/MainWindow.xaml
Normal file
43
musicschoolapp/MainWindow.xaml
Normal file
@@ -0,0 +1,43 @@
|
||||
<Window x:Class="musicschoolapp.MainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:musicschoolapp"
|
||||
mc:Ignorable="d"
|
||||
Title="Авторизация" Height="450" Width="800">
|
||||
<Grid>
|
||||
<!-- Define the rows and columns of the grid -->
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition Height="Auto" MinHeight="207.04"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Image Grid.Row="0" Grid.Column="1" Margin="10,10,10,10"/>
|
||||
<TextBlock Grid.Row="1" Grid.Column="1" Text="Приложение музыкальной школы" FontSize="36" FontWeight="Bold" VerticalAlignment="Center" Height="48"/>
|
||||
<StackPanel Grid.Row="2" Grid.Column="1" Orientation="Vertical" Margin="150,10,180,82">
|
||||
<Label Margin="10,0,0,0" Content="Логин"/>
|
||||
<TextBox x:Name="usernameTextBox" Margin="5"/>
|
||||
<Label Margin="10,0,0,0" Content="Пароль"/>
|
||||
<PasswordBox x:Name="passwordBox" Margin="5"/>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="154"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Button x:Name="loginButton" Grid.Row="1" Grid.Column="1" Content="Вход" Margin="5" Click="loginButton_Click"/>
|
||||
<Button x:Name="registerButton" Content="Регистрация" Margin="5" Click="registerButton_Click"/>
|
||||
</Grid>
|
||||
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Window>
|
||||
|
Reference in New Issue
Block a user