ActiveWindow.xaml 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. <Window x:Class="WindowedMyApp.ActiveWindow"
  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:WindowedMyApp"
  7. mc:Ignorable="d"
  8. WindowStartupLocation="CenterScreen"
  9. Title="ActiveWindow" MinHeight="720" MinWidth="1480">
  10. <Grid>
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="100"/>
  13. <RowDefinition Height="*"/>
  14. </Grid.RowDefinitions>
  15. <StackPanel Orientation="Horizontal" Grid.Row="0">
  16. <Button x:Name="toTour" Content="Кнопка 1" Width="150" Height="80" Margin="20 0 0 0" Click="toTour_Click"/>
  17. <Button x:Name="toGif" Content="Кнопка 2" Width="150" Height="80" Margin="20 0 0 0" Click="toGif_Click"/>
  18. <Button x:Name="toDiagram" Content="Кнопка 3" Width="150" Height="80" Margin="20 0 0 0" Click="toDiagram_Click"/>
  19. <Button x:Name="toUsersInfo" Content="Кнопка 4" Width="150" Height="80" Margin="20 0 0 0" Click="toUsersInfo_Click"/>
  20. </StackPanel>
  21. <Frame x:Name="ActiveFrame" Grid.Row="1" NavigationUIVisibility="Hidden">
  22. </Frame>
  23. </Grid>
  24. </Window>