123456789101112131415161718192021222324252627282930313233 |
- <Window x:Class="WpfApp1.AddOrUpdateOrder"
- 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:WpfApp1"
- mc:Ignorable="d"
- Title="AddOrUpdateOrder" Height="450" Width="800" FontFamily="Comic Sans MS" FontSize="16">
- <Grid>
- <StackPanel VerticalAlignment="Center">
- <TextBlock Text="Добавление заказа" HorizontalAlignment="Center" FontWeight="Bold" FontSize="24"/>
- <GroupBox Header="Дата" Margin="5">
- <TextBox Name="tbDate"/>
- </GroupBox>
- <GroupBox Header="Клиент" Margin="5">
- <ComboBox Name="cbClient"/>
- </GroupBox>
- <GroupBox Header="Сотрудник" Margin="5">
- <ComboBox Name="cbUser"/>
- </GroupBox>
- <GroupBox Header="Сумма" Margin="5">
- <TextBox Name="tbCost"/>
- </GroupBox>
- <GroupBox Header="Статус заказа" Margin="5">
- <GroupBox.ToolTip>
- Доступные варианты: Новый, Принят, Выдан
- </GroupBox.ToolTip>
- <TextBox Name="tbStatus"/>
- </GroupBox>
- <Button Name="btnSave" Margin="5" Content="Сохранить" Height="40" Width="200" Click="btnSave_Click"/>
- </StackPanel>
- </Grid>
- </Window>
|