Files
LicenceManager/UpdateKeyPage/UpdateKeyPageV.xaml
T
Renzo Lanza 2ff390d577 LicenceManager 2.1b1 :
- Primo commit.
2019-02-20 09:46:20 +00:00

71 lines
2.4 KiB
XML

<Grid x:Class="UpdateKeyPageV"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5"
DataContext="{StaticResource UpdateKeyPageVM}">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="1*"/>
</Grid.RowDefinitions>
<Border BorderBrush="Black"
BorderThickness="1"
Height="75"
Grid.Row="0">
<TextBlock Height="50"
Text="{Binding UpdateKeyMsg}"
FontSize="30"
TextAlignment="Center"/>
</Border>
<Grid Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="1*"/>
<RowDefinition Height="1*"/>
<RowDefinition Height="1*"/>
</Grid.RowDefinitions>
<TextBlock Text="{Binding NameMsg}"
Grid.Column="0"
Grid.Row="0"
Style="{StaticResource ParametersTextBlock}"/>
<ComboBox ItemsSource="{Binding NameList}"
SelectedItem="{Binding SelName}"
DisplayMemberPath="Name"
Grid.Column="1"
Grid.Row="0"
Style="{StaticResource ParametersComboBox}"/>
<TextBlock Text="{Binding StateMsg}"
Grid.Column="0"
Grid.Row="1"
Style="{StaticResource ParametersTextBlock}"/>
<ComboBox ItemsSource="{Binding StateList}"
SelectedItem="{Binding SelState}"
Grid.Column="1"
Grid.Row="1"
Style="{StaticResource ParametersComboBox}"/>
<UniformGrid Grid.Row="3"
Columns="2"
Grid.ColumnSpan="2">
<Button Content="{Binding UpdateMsg}"
Command="{Binding UpdateKey_Command}"
IsDefault="True"
Style="{StaticResource Page_Button}"/>
<Button Content="{Binding CancelMsg}"
Command="{Binding Cancel_Command}"
Style="{StaticResource Page_Button}"/>
</UniformGrid>
</Grid>
</Grid>