AddChanged.xaml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <Window x:Class="ShabaninDemoEkz.AddChanged"
  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:ShabaninDemoEkz"
  7. mc:Ignorable="d"
  8. MinHeight="750"
  9. Title="AddChanged" Height="750" Width="800">
  10. <Grid>
  11. <Grid.ColumnDefinitions>
  12. <ColumnDefinition Width="75"/>
  13. <ColumnDefinition Width="157*"/>
  14. </Grid.ColumnDefinitions>
  15. <Grid.RowDefinitions>
  16. <RowDefinition Height="100"/>
  17. <RowDefinition Height="*"></RowDefinition>
  18. </Grid.RowDefinitions>
  19. <DockPanel Grid.ColumnSpan="3">
  20. <Image Source="Resurses/Приятный шелест.png"/>
  21. <TextBlock Text="Приятный шелест" FontSize="58"/>
  22. </DockPanel>
  23. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Vertical" Width="296" Grid.Row="1" Grid.ColumnSpan="2">
  24. <GroupBox Header="Наименование" >
  25. <TextBox x:Name="TitleTxt" Text="{Binding Title}"/>
  26. </GroupBox>
  27. <GroupBox Header="Тип агента">
  28. <ComboBox Name="TypeA"/>
  29. </GroupBox>
  30. <GroupBox Header="Адресс">
  31. <TextBox x:Name="AdressTxt" Text="{Binding Address}"/>
  32. </GroupBox>
  33. <GroupBox Header="ИНН">
  34. <TextBox x:Name="InnTxt" Text="{Binding INN}"/>
  35. </GroupBox>
  36. <GroupBox Header="КПП">
  37. <TextBox x:Name="KPP" Text="{Binding KPP}"/>
  38. </GroupBox>
  39. <GroupBox Header="Директор">
  40. <TextBox x:Name="DirectorTxt" Text="{Binding DirectorName}"/>
  41. </GroupBox>
  42. <GroupBox Header="Телефон">
  43. <TextBox x:Name="PhoneTxt" Text="{Binding Phone}"/>
  44. </GroupBox>
  45. <GroupBox Header="E-mail">
  46. <TextBox x:Name="EmailTxt" Text="{Binding Email}"/>
  47. </GroupBox>
  48. <GroupBox Header="Приоритет">
  49. <TextBox x:Name="Prioriti" Text="{Binding Priority}"/>
  50. </GroupBox>
  51. <Button x:Name="SaveBtn" Content="Сохранить" FontSize="20" Margin="0 20 0 0" Click="SaveBtn_Click"/>
  52. <Button x:Name="DelBtn" Content="Удалить" FontSize="20" Margin="0 20 0 0" Click="DelBtn_Click"/>
  53. </StackPanel>
  54. </Grid>
  55. </Window>