Update.xaml 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <Window x:Class="Muzzle.Update"
  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 = "Артикул"/>
  13. <TextBox x:Name="Art" Width="100" Height="15"/>
  14. </StackPanel>
  15. <StackPanel Orientation = "Horizontal" >
  16. <Label Content="Наименование"/>
  17. <TextBox x:Name="Title" Width = "150" Height="15"/>
  18. </StackPanel>
  19. <StackPanel Orientation = "Horizontal" >
  20. <Label Content="Тип продукта"/>
  21. <ComboBox x:Name="TipeProduct" Width = "150" Height="25" >
  22. <ComboBox.Background>
  23. <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
  24. <GradientStop Color="#FFF0F0F0" Offset="0"/>
  25. <GradientStop Color="White" Offset="1"/>
  26. </LinearGradientBrush>
  27. </ComboBox.Background>
  28. </ComboBox>
  29. </StackPanel>
  30. <StackPanel Orientation = "Horizontal" >
  31. <Label Content="Изображение"/>
  32. <Button x:Name="btnImage" Content="Изменить изображение" Width="150" Height="20" Background="White" BorderBrush="#FFFDBD40"/>
  33. </StackPanel>
  34. <StackPanel Orientation = "Horizontal" >
  35. <Label Content="Количество человек для производства"/>
  36. <TextBox x:Name="Kol" Width = "100" Height="15"/>
  37. </StackPanel>
  38. <StackPanel Orientation = "Horizontal" >
  39. <Label Content="Номер производственого цеха"/>
  40. <TextBox x:Name="Number" Width = "100" Height="15"/>
  41. </StackPanel>
  42. <StackPanel Orientation = "Horizontal" >
  43. <Label Content="Минимальная стоимость для агента"/>
  44. <TextBox x:Name="CostMin" Width = "100" Height="15"/>
  45. </StackPanel>
  46. <StackPanel Orientation = "Horizontal" >
  47. <Label Content="Описание"/>
  48. <TextBox x:Name="Opis" Width = "300" Height="100"/>
  49. </StackPanel>
  50. <StackPanel Orientation="Vertical">
  51. <Button x:Name="btnDob" Content="Готово" Width="100" Height="20" HorizontalAlignment="Left" Margin="10,10,0,10" Background="White" BorderBrush="#FFFDBD40"/>
  52. <Button x:Name="btnNaz" Content="Назад" Width="100" Height="20" HorizontalAlignment="Left" Margin="10,0,0,0" Click="btnNaz_Click" Background="White" BorderBrush="#FFFDBD40"/>
  53. </StackPanel>
  54. </StackPanel>
  55. </Grid>
  56. </Window>