12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <Window x:Class="WpfApp3.Windows.StudentDetailsWindow"
- 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:WpfApp3.Windows"
- mc:Ignorable="d"
- Title="Полная информация о студенте" Height="550" Width="500">
- <Window.Background>
- <LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
- <GradientStop Color="LightPink" Offset="0"/>
- <GradientStop Color="LightYellow" Offset="0.5"/>
- <GradientStop Color="LightGreen" Offset="1"/>
- </LinearGradientBrush>
- </Window.Background>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="Auto" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <StackPanel>
- <Label Grid.Row="0" Grid.Column="0" Content="Идентификационный номер:" />
- <TextBlock Text="{Binding Id}" FontStyle="Italic" FontSize="16" />
- <Label Grid.Row="1" Grid.Column="0" Content="Имя:" />
- <TextBlock Text="{Binding Name}" FontStyle="Italic" FontSize="16" />
- <Label Grid.Row="2" Grid.Column="0" Content="Возраст:" />
- <TextBlock Text="{Binding Age}" FontStyle="Italic" FontSize="16" />
- <Label Grid.Row="3" Grid.Column="0" Content="Страна:" />
- <TextBlock Text="{Binding Country}" FontStyle="Italic" FontSize="16" />
- <Label Grid.Row="4" Grid.Column="0" Content="Средний балл:" />
- <TextBlock Text="{Binding GPA}" FontStyle="Italic" FontSize="16" />
- <Label Grid.Row="5" Grid.Column="0" Content="Специальность:" />
- <TextBlock Text="{Binding Speciality}" FontStyle="Italic" FontSize="16" />
- <Label Grid.Row="6" Grid.Column="0" Content="Стипендия:" />
- <TextBlock Text="{Binding Grant}" FontStyle="Italic" FontSize="16" />
- <Label Grid.Row="7" Grid.Column="0" Content="Курс:" />
- <TextBlock Text="{Binding Course}" FontStyle="Italic" FontSize="16" />
- <Label Grid.Row="8" Grid.Column="0" Content="Дата зачисления:" />
- <TextBlock Text="{Binding EnrollmentDate}" FontStyle="Italic" FontSize="16" />
- <Label Grid.Row="9" Grid.Column="0" Content="Очное обучение:" />
- <TextBlock Text="{Binding IsFullTime}" FontStyle="Italic" FontSize="16" />
- </StackPanel>
- <StackPanel Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Bottom">
- <Button Width="100" Height="30" Background="Bisque" Content="OK" IsCancel="True" Click="OKButton_Click" />
- </StackPanel>
- </Grid>
- </Window>
|