AddOrUpdateOrder.xaml 1.6 KB

123456789101112131415161718192021222324252627282930313233
  1. <Window x:Class="WpfApp1.AddOrUpdateOrder"
  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:WpfApp1"
  7. mc:Ignorable="d"
  8. Title="AddOrUpdateOrder" Height="450" Width="800" FontFamily="Comic Sans MS" FontSize="16">
  9. <Grid>
  10. <StackPanel VerticalAlignment="Center">
  11. <TextBlock Text="Добавление заказа" HorizontalAlignment="Center" FontWeight="Bold" FontSize="24"/>
  12. <GroupBox Header="Дата" Margin="5">
  13. <TextBox Name="tbDate"/>
  14. </GroupBox>
  15. <GroupBox Header="Клиент" Margin="5">
  16. <ComboBox Name="cbClient"/>
  17. </GroupBox>
  18. <GroupBox Header="Сотрудник" Margin="5">
  19. <ComboBox Name="cbUser"/>
  20. </GroupBox>
  21. <GroupBox Header="Сумма" Margin="5">
  22. <TextBox Name="tbCost"/>
  23. </GroupBox>
  24. <GroupBox Header="Статус заказа" Margin="5">
  25. <GroupBox.ToolTip>
  26. Доступные варианты: Новый, Принят, Выдан
  27. </GroupBox.ToolTip>
  28. <TextBox Name="tbStatus"/>
  29. </GroupBox>
  30. <Button Name="btnSave" Margin="5" Content="Сохранить" Height="40" Width="200" Click="btnSave_Click"/>
  31. </StackPanel>
  32. </Grid>
  33. </Window>