MainWindow.xaml 1.1 KB

123456789101112131415161718192021222324
  1. <Window x:Class="MyMoviesWPF.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:MyMoviesWPF"
  7. mc:Ignorable="d"
  8. Title="MainWindow" Height="900" Width="1600">
  9. <Grid>
  10. <Grid.ColumnDefinitions>
  11. <ColumnDefinition Width="100*"/>
  12. <ColumnDefinition Width="1200"/>
  13. <ColumnDefinition Width="100*"/>
  14. </Grid.ColumnDefinitions>
  15. <Grid.RowDefinitions>
  16. <RowDefinition Height="48*"/>
  17. <RowDefinition Height="383*"/>
  18. <RowDefinition Height="11*"/>
  19. </Grid.RowDefinitions>
  20. <Frame Grid.Column="1" Content="{Binding CurrentPage}" Grid.Row="1" />
  21. <Button Grid.Column="2" Content="{Binding Cart}" HorizontalAlignment="Center" VerticalAlignment="Bottom" Command="{Binding OpenCart}"/>
  22. </Grid>
  23. </Window>