generated from admin/template
Начал делать фронтенд
This commit is contained in:
@@ -4,14 +4,36 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="AvaloniaPostgresApp.MainWindow"
|
||||
Title="AvaloniaPostgresApp">
|
||||
Title="Регистрация"
|
||||
Width="400" Height="350">
|
||||
|
||||
<StackPanel Spacing="10" Margin="20">
|
||||
<TextBlock Text="Авторизация"></TextBlock>
|
||||
<TextBlock Text="Логин"></TextBlock>
|
||||
<TextBox x:Name="TextBox"
|
||||
PlaceholderText="Введите ваше имя"></TextBox>
|
||||
<TextBlock Text="Пароль"></TextBlock>
|
||||
<TextBox x:Name="TextPassword"
|
||||
PlaceholderText="Пароль"></TextBox>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</StackPanel>
|
||||
|
||||
<!-- Внешние отступы через Margin, внутренние - через ColumnSpacing -->
|
||||
<Grid RowDefinitions="Auto, *" ColumnDefinitions="100, *, Auto" >
|
||||
<Button Grid.Row="1" Grid.Column="1" Content="Кнопка" />
|
||||
<TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" Text="Заголовок" />
|
||||
|
||||
|
||||
</Grid>
|
||||
|
||||
</Window>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Window>
|
||||
@@ -1,4 +1,8 @@
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Interactivity;
|
||||
using Avalonia.Media;
|
||||
|
||||
|
||||
namespace AvaloniaPostgresApp;
|
||||
|
||||
@@ -8,4 +12,20 @@ public partial class MainWindow : Window
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
|
||||
private void Submit_OnClick(object? sender, RoutedEventArgs e)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
private void Button_OnClick(object? sender, RoutedEventArgs e)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
private void Button2Button_OnClick(object? sender, RoutedEventArgs e)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user