45 lines
1.6 KiB
Plaintext
45 lines
1.6 KiB
Plaintext
|
<Window xmlns="https://github.com/avaloniaui"
|
||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
|
xmlns:vm="using:Views.MainWindow"
|
||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||
|
mc:Ignorable="d"
|
||
|
d:DesignWidth="800"
|
||
|
d:DesignHeight="450"
|
||
|
x:DataType="vm:MainViewModel"
|
||
|
Icon="/Assets/avalonia-logo.ico"
|
||
|
x:Class="Views.MainWindow"
|
||
|
Title="Управление студентами"
|
||
|
Width="800"
|
||
|
Height="600">
|
||
|
<StackPanel>
|
||
|
<ComboBox x:Name="GroupComboBox"
|
||
|
Items="{Binding Groups}"
|
||
|
SelectedItem="{Binding SelectedGroup}"
|
||
|
Width="200"
|
||
|
Margin="10"/>
|
||
|
|
||
|
<Button Content="Удалить всех студентов из группы"
|
||
|
Command="{Binding DeleteAllStudentsCommand}"
|
||
|
Width="250"
|
||
|
Margin="10"/>
|
||
|
|
||
|
<Button Content="Импортировать студентов в группу"
|
||
|
Command="{Binding ImportStudentsCommand}"
|
||
|
Width="250"
|
||
|
Margin="10"/>
|
||
|
|
||
|
<ListBox x:Name="StudentsListBox"
|
||
|
Items="{Binding Students}"
|
||
|
SelectionMode="Extended"
|
||
|
Width="400"
|
||
|
Height="300"
|
||
|
Margin="10"/>
|
||
|
|
||
|
<ComboBox x:Name="SortComboBox"
|
||
|
Items="{Binding SortOptions}"
|
||
|
SelectedItem="{Binding SelectedSortOption}"
|
||
|
Width="200"
|
||
|
Margin="10"/>
|
||
|
</StackPanel>
|
||
|
</Window>
|