EonaCat_WindowsKeyViewer/EonaCat_WindowsKeyViewer/MainWindow.xaml

35 lines
3.5 KiB
XML

<Window x:Class="EonaCat_WindowsKeyViewer.MainWindow"
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:EonaCat_WindowsKeyViewer"
mc:Ignorable="d"
Title="EonaCat WindowsKeyViewer" Height="350" Width="700" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" Icon="icon.ico" Background="Black" Loaded="MainWindow_OnLoaded">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="457*"/>
<ColumnDefinition Width="62*"/>
</Grid.ColumnDefinitions>
<Image x:Name="logoLeft" HorizontalAlignment="Left" Height="63" Margin="10,10,0,0" VerticalAlignment="Top" Width="63" Source="Resources/EonaCat Logo orange.png"/>
<Image x:Name="logoRight" HorizontalAlignment="Left" Height="63" Margin="10,10,0,0" VerticalAlignment="Top" Width="63" Source="Resources/EonaCat Logo orange.png" Grid.Column="1"/>
<Image x:Name="logoBottomLeft" HorizontalAlignment="Left" Height="63" Margin="10,248,0,0" VerticalAlignment="Top" Width="63" Source="Resources/EonaCat Logo orange.png"/>
<Image x:Name="logoBottomRight" HorizontalAlignment="Left" Height="63" Margin="10,248,0,0" VerticalAlignment="Top" Width="63" Source="Resources/EonaCat Logo orange.png" Grid.Column="1"/>
<StackPanel HorizontalAlignment="Left" Height="170" Margin="78,73,0,0" VerticalAlignment="Top" Width="351">
<TextBox x:Name="windowsBuildNumberLabel" Text="Build:" Foreground="White" Background="Transparent" IsReadOnly="True"/>
<TextBox x:Name="windowsVersionLabel" Text="Version:" Foreground="White" Background="Transparent" IsReadOnly="True"/>
<TextBox x:Name="windowsCSDVersionLabel" Text="CSD Version:" Foreground="White" Background="Transparent" IsReadOnly="True"/>
<TextBox x:Name="InstallationDateLabel" Text="Installation date:" Foreground="White" Background="Transparent" IsReadOnly="True"/>
<TextBox x:Name="windowsSerialNumberLabel" Text="SerialNumber:" Foreground="White" Background="Transparent" IsReadOnly="True"/>
</StackPanel>
<StackPanel HorizontalAlignment="Left" Height="170" Margin="434,73,0,0" VerticalAlignment="Top" Width="250" Grid.ColumnSpan="2">
<TextBox x:Name="registeredOwnerLabel" Text="registeredOwner:" Foreground="White" Background="Transparent" IsReadOnly="True"/>
<TextBox x:Name="organisationLabel" Text="organisation:" Foreground="White" Background="Transparent" IsReadOnly="True"/>
<TextBox x:Name="windowsCountryCodeLabel" Text="Country:" Foreground="White" Background="Transparent" IsReadOnly="True"/>
</StackPanel>
<TextBox x:Name="productKeyTextBox" HorizontalAlignment="Left" Margin="163,209,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Foreground="Green" Background="Transparent" Width="Auto" IsReadOnly="True" BorderThickness="0" />
<Label x:Name="windowsNameLabel" HorizontalAlignment="Left" Margin="183,24,0,0" Foreground="White" FontSize="16" VerticalAlignment="Top" Height="34" Width="391"/>
<Button x:Name="checkProductKeyButton" Content="Check" HorizontalAlignment="Left" Margin="316,259,0,0" VerticalAlignment="Top" Width="128" Click="checkProductKeyButton_Click" Foreground="DeepPink" Background="Yellow" Height="34"/>
</Grid>
</Window>