MainWindow.xaml 1.5 KB

123456789101112131415161718192021222324252627
  1. <Window x:Class="kursach.MainWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:kursach"
  7. mc:Ignorable="d"
  8. x:Name="main"
  9. Title="OpenSky" Height="450" Width="800" Icon="Image/aircraft.png" WindowStartupLocation="CenterScreen" MinHeight="250" MinWidth="400">
  10. <Grid x:Name="Home">
  11. <Grid x:Name="header" Grid.Row="0" Grid.Column="0">
  12. <Border BorderBrush="#FFABCDEF" BorderThickness="1" Background="#FFABCDEF"/>
  13. <Label Content="ОткрытоеНебо" HorizontalAlignment="Stretch" VerticalAlignment="Center" FontFamily="/kursach;component/Fonts/#Montserrat Medium" FontSize="36"/>
  14. <Image HorizontalAlignment="Right" VerticalAlignment="Stretch" Height="55" Width="55" Source="Image/menu.png" Cursor="Hand" MouseDown="Image_MouseDown"/>
  15. </Grid>
  16. <Grid x:Name="body" Grid.Row="1" Grid.Column="0">
  17. <Image Source="Image/testImage.jpg" Margin="0,0,0,10"/>
  18. </Grid>
  19. <Grid.RowDefinitions>
  20. <RowDefinition Height="Auto"/>
  21. <RowDefinition Height="Auto"/>
  22. </Grid.RowDefinitions>
  23. <Grid.ColumnDefinitions>
  24. <ColumnDefinition Width="*"/>
  25. </Grid.ColumnDefinitions>
  26. </Grid>
  27. </Window>