123456789101112131415161718192021222324252627282930313233343536 |
- <Window x:Class="FillingColumn.AddDataOfCardWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:FillingColumn"
- mc:Ignorable="d"
- Title="Добавление данных карты" Height="300" Width="600">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition Height="2*"/>
- </Grid.RowDefinitions>
- <TextBlock VerticalAlignment="Bottom" Margin="20,0,0,0">Номер карты</TextBlock>
- <TextBox x:Name="TxtCardNumber" VerticalAlignment="Bottom" MaxLength="19" Margin="120,0,50,0"></TextBox>
- <Grid Grid.Row="1">
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="3*"/>
- <ColumnDefinition Width="2*"/>
- <ColumnDefinition Width="2*"/>
- </Grid.ColumnDefinitions>
- <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center">Держатель карты</TextBlock>
- <TextBox Grid.Row="1" Margin="20" Name="TxtCardHolder" VerticalAlignment="Center"></TextBox>
- <TextBlock HorizontalAlignment="Center" Grid.Column="3" VerticalAlignment="Center">Платёжная система</TextBlock>
- <TextBox x:Name="TxtCardExpDate" Grid.Row="1" Grid.Column="1" VerticalAlignment="Center"></TextBox>
- <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Column="1">Дата годности</TextBlock>
- <ComboBox Grid.Row="1" Grid.Column="3" Margin="15" Name="CmbCardIssuer" SelectedIndex="0" DisplayMemberPath="NameCardIssuer"></ComboBox>
- <Button Grid.ColumnSpan="3" Grid.Row="2" Margin="150,15,150,15" Content="Добавить" Name="BtnAddCardData" Click="BtnAddCardData_Click"></Button>
- </Grid>
- </Grid>
- </Window>
|