2ff390d577
- Primo commit.
67 lines
2.5 KiB
XML
67 lines
2.5 KiB
XML
<Grid x:Class="SearchKeyPageV"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:LicenseManager="clr-namespace:LicenseManager"
|
|
DataContext="{StaticResource SearchKeyPageVM}">
|
|
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Border BorderBrush="Black"
|
|
BorderThickness="1"
|
|
Height="75"
|
|
Grid.ColumnSpan="2">
|
|
<TextBlock Height="50"
|
|
Text="{Binding SearchKeyMsg}"
|
|
FontSize="30"
|
|
TextAlignment="Center"/>
|
|
</Border>
|
|
|
|
<LicenseManager:KeyPageV Grid.Row="1"
|
|
Grid.ColumnSpan="2"/>
|
|
|
|
<DataGrid ItemsSource="{Binding SearchResult}"
|
|
SelectedItem="{Binding SelSearchResult}"
|
|
AutoGenerateColumns="False"
|
|
Grid.Row="2">
|
|
|
|
<DataGrid.Columns>
|
|
|
|
<DataGridTextColumn Header="Number"
|
|
Binding="{Binding Number, Mode=OneWay}"
|
|
Width="1*"/>
|
|
<DataGridTextColumn Header="Client Name"
|
|
Binding="{Binding ClientName, Mode=OneWay}"
|
|
Width="1*"/>
|
|
<DataGridTextColumn Header="Is Dongle"
|
|
Binding="{Binding IsDongle, Mode=OneWay}"
|
|
Width="1*"/>
|
|
<DataGridTextColumn Header="LockID"
|
|
Binding="{Binding LockID, Mode=OneWay}"
|
|
Width="1*"/>
|
|
<DataGridTextColumn Header="State"
|
|
Binding="{Binding State, Mode=OneWay}"
|
|
Width="1*"/>
|
|
|
|
</DataGrid.Columns>
|
|
</DataGrid>
|
|
|
|
<UniformGrid Grid.Row="3" Columns="3">
|
|
<Button Content="{Binding SearchMsg}"
|
|
Command="{Binding SearchKey_Command}"
|
|
IsDefault="True"
|
|
Style="{StaticResource Page_Button}"/>
|
|
<Button Content="{Binding CancelMsg}"
|
|
Command="{Binding Cancel_Command}"
|
|
Style="{StaticResource Page_Button}"/>
|
|
<Button Content="{Binding UpdateMsg}"
|
|
Command="{Binding UpdateKey_Command}"
|
|
Style="{StaticResource Page_Button}"/>
|
|
</UniformGrid>
|
|
|
|
</Grid> |