Pravki
Signed-off-by: studen <Goga@gmail.com>
This commit is contained in:
parent
39e39a19f7
commit
b9cc292654
@ -8,7 +8,7 @@
|
|||||||
Title="Demra_Glavnoe">
|
Title="Demra_Glavnoe">
|
||||||
<DockPanel>
|
<DockPanel>
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<Button Content="add item"/>
|
<Button Content="Registr" Click="OnRegistrButtonClick"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<ListBox x:Name="ItemListBox">
|
<ListBox x:Name="ItemListBox">
|
||||||
<ListBox.ItemTemplate>
|
<ListBox.ItemTemplate>
|
||||||
|
@ -8,4 +8,10 @@ public partial class MainWindow : Window
|
|||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void OnRegistrButtonClick(object sender, Avalonia.Interactivity.RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
var registratorWindow = new Registrator();
|
||||||
|
registratorWindow.Show();
|
||||||
|
}
|
||||||
}
|
}
|
@ -32,13 +32,13 @@
|
|||||||
</StackPanel>
|
</StackPanel>
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<TextBlock Text="Напровление" VerticalAlignment="Center" Margin="10"/>
|
<TextBlock Text="Напровление" VerticalAlignment="Center" Margin="10"/>
|
||||||
<TextBox Watermark="" HorizontalAlignment="Stretch" />
|
<!-- <TextBox Watermark="" HorizontalAlignment="Stretch" /> -->
|
||||||
|
|
||||||
<ComboBox x:Name="Vibor" SelectedIndex="0"
|
<ComboBox x:Name="Vibor" SelectedIndex="0"
|
||||||
Width="200" MaxDropDownHeight="300">
|
Width="200" MaxDropDownHeight="300">
|
||||||
<ComboBox.ItemTemplate>
|
<ComboBox.ItemTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<TextBlock Text="{Binding ac}" FontFamily="{Binding}" />
|
<TextBlock Text="{Binding }" FontFamily="{Binding}" />
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</ComboBox.ItemTemplate>
|
</ComboBox.ItemTemplate>
|
||||||
</ComboBox>
|
</ComboBox>
|
||||||
@ -58,6 +58,7 @@
|
|||||||
<TextBlock Text="Повтори пароль" VerticalAlignment="Center" Margin="10"/>
|
<TextBlock Text="Повтори пароль" VerticalAlignment="Center" Margin="10"/>
|
||||||
<TextBox Watermark="Re-Pass" HorizontalAlignment="Stretch" />
|
<TextBox Watermark="Re-Pass" HorizontalAlignment="Stretch" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<Image Source="file:///home/class_student/Desktops/Desktop1/КОД 1.2 2023-2025 ВАРИАНТ 6/Вариант 6/Ресурсы/Модераторы_import/foto15.jpg" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="10"/>
|
<!-- <Image Source="file:///home/class_student/Desktops/Desktop1/КОД 1.2 2023-2025 ВАРИАНТ 6/Вариант 6/Ресурсы/Модераторы_import/foto15.jpg" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="10"/>
|
||||||
|
-->
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Window>
|
</Window>
|
@ -10,12 +10,6 @@ public partial class Registrator : Window
|
|||||||
public Registrator()
|
public Registrator()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
this.Loaded += OnLoaded;
|
|
||||||
Vibor.Items = Meropriatie
|
|
||||||
.GetInstalledFontFamilyNames()
|
|
||||||
.Select(x => new Meropriatie(x))
|
|
||||||
.OrderBy(x=>x.Activ);
|
|
||||||
Vibor.SelectedIndex = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnLoaded(object sender, RoutedEventArgs e)
|
private void OnLoaded(object sender, RoutedEventArgs e)
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -13,7 +13,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("AvaloniaApplication3")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("AvaloniaApplication3")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+8d201eeb6bfd67af90ba717bd582be2bca2e5749")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+39e39a19f7ae294199a991f5d5d67f7b0054afcf")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("AvaloniaApplication3")]
|
[assembly: System.Reflection.AssemblyProductAttribute("AvaloniaApplication3")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("AvaloniaApplication3")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("AvaloniaApplication3")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
@ -1 +1 @@
|
|||||||
8b418e6c4ae5453fa3b0577057aae8fdc3c7932fa2be949b3b8e6ecab98184ff
|
13c70c534b2f216c33893cec8f434ecaba0d0f7b51feb85fa154e7c441f9627f
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user