123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <Page x:Class="BuzuevaDemo.Pages.ChangeData"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:BuzuevaDemo.Pages"
- mc:Ignorable="d"
- d:DesignHeight="550" d:DesignWidth="245"
- Title="ChangeData">
- <Grid>
- <StackPanel Orientation="Vertical" HorizontalAlignment="Stretch" VerticalAlignment="Center">
- <GroupBox Header="Наименование">
- <TextBox Text="{Binding Title}" x:Name="Title"/>
- </GroupBox>
- <GroupBox Header="Тип агента">
- <ComboBox x:Name="typeag"/>
- </GroupBox>
- <GroupBox Header="Приоритет">
- <TextBox Text="{Binding Priority}" x:Name="Priority"/>
- </GroupBox>
- <GroupBox Header="Адрес">
- <TextBox Text="{Binding Address}" x:Name="Address"/>
- </GroupBox>
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
- <GroupBox Header="ИНН">
- <TextBox Width="90" Text="{Binding INN}" x:Name="INN"/>
- </GroupBox>
- <GroupBox Header="КПП">
- <TextBox Width="90" Text="{Binding KPP}" x:Name="KPP"/>
- </GroupBox>
- </StackPanel>
- <GroupBox Header="Имя директора">
- <TextBox Text="{Binding DirectorName}" x:Name="DirectorName"/>
- </GroupBox>
- <GroupBox Header="Телефон">
- <TextBox Text="{Binding Phone}" x:Name="Phone"/>
- </GroupBox>
- <GroupBox Header="Email">
- <TextBox Text="{Binding Email}" x:Name="Email"/>
- </GroupBox>
- <Image Width="100" Height="100" Source="{Binding Logo}" x:Name="Logo"/>
- <Button Content="Внести изменения" Click="Perezapis" />
- <Button Content="Добавить изображение" Click="NewImage" Margin="0, 2" />
- <Button Content="Удалить запись" Margin="0, 1" />
- </StackPanel>
- </Grid>
- </Page>
|