123456789101112131415161718192021222324252627282930 |
- <Window x:Class="ProjectD.MainWindow"
- 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:ProjectD"
- mc:Ignorable="d"
- Title="MainWindow" Height="450" Width="800"
- DataContext="{Binding RelativeSource={RelativeSource Self}}">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="33*"/>
- <RowDefinition Height="184*"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="63*"/>
- <ColumnDefinition Width="230*"/>
- <ColumnDefinition Width="507*"/>
- </Grid.ColumnDefinitions>
- <Button Content="Добавить ингредиент" HorizontalAlignment="Center" Margin="0,10,0,0" VerticalAlignment="Top" Width="228" Grid.Column="1" Height="41" Click="Button_Click_1"/>
- <StackPanel Orientation="Vertical" Name="IngredientList" Grid.Row="1" Grid.Column="1" Background="#FFF7E7E7">
- </StackPanel>
- <Button Grid.Column="2" Content="СОХРАНИТЬ" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Height="41" Width="120" Click="Button_Click"/>
- <TextBox Name="textBoxDishName" Grid.Column="2" HorizontalAlignment="Left" Margin="135,10,0,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Width="206" Height="41"/>
- </Grid>
- </Window>
|