Add.xaml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <Window x:Class="Muzzle.Add"
  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:Muzzle"
  7. mc:Ignorable="d"
  8. Title="Добавление продукции" Height="450" Width="800">
  9. <Grid>
  10. <StackPanel Orientation = "Vertical" >
  11. <StackPanel Orientation="Horizontal">
  12. <Label Content = "Артикул" ></Label>
  13. <TextBox x:Name="Art" Width="100" Height="15"></TextBox>
  14. </StackPanel>
  15. <StackPanel Orientation = "Horizontal" >
  16. <Label Content="Наименование"></Label>
  17. <TextBox x:Name="Title" Width = "100" Height="15"></TextBox>
  18. </StackPanel>
  19. <StackPanel Orientation = "Horizontal" >
  20. <Label Content="Тип продукта"></Label>
  21. <ComboBox Width = "150" Height="15"></ComboBox>
  22. </StackPanel>
  23. <StackPanel Orientation = "Horizontal" >
  24. <Label Content="Изображение"></Label>
  25. <Button x:Name="btnImage" Content="Загрузить изображение" Width="150" Height="20" Background="White" BorderBrush="#FFFDBD40"></Button>
  26. </StackPanel>
  27. <StackPanel Orientation = "Horizontal" >
  28. <Label Content="Количество человек для производства"></Label>
  29. <TextBox Width = "100" Height="15"></TextBox>
  30. </StackPanel>
  31. <StackPanel Orientation = "Horizontal" >
  32. <Label Content="Номер производственого цеха"></Label>
  33. <TextBox Width = "100" Height="15"></TextBox>
  34. </StackPanel>
  35. <StackPanel Orientation = "Horizontal" >
  36. <Label Content="Минимальная стоимость для агента"></Label>
  37. <TextBox Width = "100" Height="15"></TextBox>
  38. </StackPanel>
  39. <StackPanel Orientation = "Horizontal" >
  40. <Label Content="Описание"></Label>
  41. <TextBox Width = "300" Height="100"></TextBox>
  42. </StackPanel>
  43. <StackPanel Orientation="Vertical">
  44. <Button x:Name="btnDob" Content="Добавить" Width="100" Height="20" HorizontalAlignment="Left" Margin="10,10,0,10" Background="White" BorderBrush="#FFFDBD40" Click="btnDob_Click"></Button>
  45. <Button x:Name="btnNaz" Content="Назад" Width="100" Height="20" HorizontalAlignment="Left" Margin="10,0,0,0" Click="btnNaz_Click" Background="White" BorderBrush="#FFFDBD40"></Button>
  46. </StackPanel>
  47. </StackPanel>
  48. </Grid>
  49. </Window>