Files
OfficeTool/Pages/ProductKeyPage.xaml
hariel1985 4937ac4b1c Initial release v1.01 — InstaSoft Office Tool
Office deployment wizard for InstaSoft customers:
- Install Office 2019/2021/2024 (Standard, Professional Plus, Home & Business)
- Auto-download ODT from Microsoft, generate config XML, run setup
- Remove existing Office installations (C2R + MSI)
- License troubleshooting via ospp.vbs (dstatus, unpkey)
- Fluent Design UI (WPF .NET Framework 4.8, Win7+ compatible)
- Hungarian interface, multi-language Office installation
- Product key input with auto-activation support

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 05:40:50 +02:00

63 sor
4.0 KiB
XML

<Page x:Class="InstaSoftOfficeTool.Pages.ProductKeyPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Background="Transparent">
<Grid Margin="40,30">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<StackPanel Grid.Row="0" Margin="0,0,0,24">
<TextBlock Text="Termékkulcs" FontSize="24" FontWeight="Light"/>
<TextBlock Text="Adja meg a 25 karakteres termékkulcsot, vagy hagyja üresen."
FontSize="14" Foreground="{StaticResource TextSecondaryBrush}" Margin="0,4,0,0"/>
</StackPanel>
<StackPanel Grid.Row="1" VerticalAlignment="Top">
<StackPanel Orientation="Horizontal" Margin="0,10,0,0">
<TextBox x:Name="Key1" Style="{StaticResource FluentTextBox}"
Width="110" MaxLength="5" CharacterCasing="Upper"
TextChanged="KeyBox_TextChanged" FontFamily="Consolas" TextAlignment="Center"/>
<TextBlock Text="-" FontSize="20" VerticalAlignment="Center" Margin="6,0"
Foreground="{StaticResource TextSecondaryBrush}"/>
<TextBox x:Name="Key2" Style="{StaticResource FluentTextBox}"
Width="110" MaxLength="5" CharacterCasing="Upper"
TextChanged="KeyBox_TextChanged" FontFamily="Consolas" TextAlignment="Center"/>
<TextBlock Text="-" FontSize="20" VerticalAlignment="Center" Margin="6,0"
Foreground="{StaticResource TextSecondaryBrush}"/>
<TextBox x:Name="Key3" Style="{StaticResource FluentTextBox}"
Width="110" MaxLength="5" CharacterCasing="Upper"
TextChanged="KeyBox_TextChanged" FontFamily="Consolas" TextAlignment="Center"/>
<TextBlock Text="-" FontSize="20" VerticalAlignment="Center" Margin="6,0"
Foreground="{StaticResource TextSecondaryBrush}"/>
<TextBox x:Name="Key4" Style="{StaticResource FluentTextBox}"
Width="110" MaxLength="5" CharacterCasing="Upper"
TextChanged="KeyBox_TextChanged" FontFamily="Consolas" TextAlignment="Center"/>
<TextBlock Text="-" FontSize="20" VerticalAlignment="Center" Margin="6,0"
Foreground="{StaticResource TextSecondaryBrush}"/>
<TextBox x:Name="Key5" Style="{StaticResource FluentTextBox}"
Width="110" MaxLength="5" CharacterCasing="Upper"
TextChanged="KeyBox_TextChanged" FontFamily="Consolas" TextAlignment="Center"/>
</StackPanel>
<CheckBox x:Name="CbSkipKey" Style="{StaticResource FluentCheckBox}"
Content="Később szeretném megadni"
Margin="0,20,0,0" Checked="CbSkipKey_Changed" Unchecked="CbSkipKey_Changed"/>
<Border Background="#FFF8E1" CornerRadius="6" Padding="16,12" Margin="0,24,0,0"
BorderBrush="#FFE082" BorderThickness="1" MaxWidth="600" HorizontalAlignment="Left">
<StackPanel>
<TextBlock Text="Tudnivaló" FontWeight="SemiBold" FontSize="13" Margin="0,0,0,4"/>
<TextBlock TextWrapping="Wrap" FontSize="12" Foreground="{StaticResource TextSecondaryBrush}"
Text="Ha megadja a termékkulcsot, az Office automatikusan aktiválódik a telepítés után. Ha nem adja meg, későbbi időpontban is megadható az Office alkalmazáson belül (Fájl > Fiók > Termékkulcs módosítása)."/>
</StackPanel>
</Border>
<TextBlock x:Name="ValidationMessage" FontSize="12" Margin="0,12,0,0"
Foreground="{StaticResource ErrorBrush}" Visibility="Collapsed"/>
</StackPanel>
</Grid>
</Page>