MainWindow.xaml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <Window x:Class="TerminalKFC.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:TerminalKFC"
  7. mc:Ignorable="d"
  8. Title="MainWindow"
  9. Height="666"
  10. Width="445"
  11. WindowStartupLocation="CenterScreen"
  12. ResizeMode="NoResize"
  13. WindowStyle="None">
  14. <Grid>
  15. <Grid.RowDefinitions>
  16. <RowDefinition/>
  17. <RowDefinition/>
  18. <RowDefinition/>
  19. </Grid.RowDefinitions>
  20. <Image
  21. Grid.Row="0"
  22. Source="./Images/img1.jpg"
  23. Stretch="Fill"/>
  24. <Image
  25. Grid.Row="0"
  26. Source="./Images/logo.jpeg"
  27. Width="110"
  28. Height="110"
  29. VerticalAlignment="Top"
  30. HorizontalAlignment="Left"/>
  31. <Grid Grid.Row="1">
  32. <Grid.RowDefinitions>
  33. <RowDefinition/>
  34. <RowDefinition/>
  35. </Grid.RowDefinitions>
  36. <Image
  37. Grid.RowSpan="2"
  38. Source="./Images/img2.jpg"
  39. Stretch="Fill"/>
  40. <Button
  41. Grid.Row="1"
  42. VerticalAlignment="Bottom"
  43. Foreground="Yellow"
  44. Height="100"
  45. FontSize="30"
  46. Content="Сделать заказ"
  47. Click="MakeAnOrderButton">
  48. <Button.Background>
  49. <SolidColorBrush
  50. Color="LightGray"
  51. Opacity="0.50"/>
  52. </Button.Background>
  53. </Button>
  54. </Grid>
  55. <Image
  56. Grid.Row="2"
  57. Source="./Images/img3.jpg"
  58. Stretch="Fill"/>
  59. <Border
  60. BorderBrush="Black"
  61. BorderThickness="1"
  62. HorizontalAlignment="Left"
  63. Height="636"
  64. Grid.RowSpan="3"
  65. VerticalAlignment="Top"
  66. Width="437"
  67. Visibility="Hidden"/>
  68. </Grid>
  69. </Window>