- Product key dialog: Fluent overlay with 5-field input + paste support
- Activate button on each license card asks for key first (/inpkey + /act)
- Auto-refresh lists after removal/activation on all pages
- Access checkbox disabled for Standard and Home & Business editions
- MSI uninstall: only accept {GUID} product codes (fix msiexec help popup)
- Window height properly resets when Details expander is collapsed
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
52 sor
2.6 KiB
XML
52 sor
2.6 KiB
XML
<Page x:Class="InstaSoftOfficeTool.Pages.TroubleshootPage"
|
|
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="*"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<!-- Title -->
|
|
<StackPanel Grid.Row="0" Margin="0,0,0,16">
|
|
<TextBlock Text="Licenc-kezelés" FontSize="24" FontWeight="Light"/>
|
|
<TextBlock Text="Office licenc állapot lekérdezése, aktiválás és termékkulcsok kezelése"
|
|
FontSize="14" Foreground="{StaticResource TextSecondaryBrush}" Margin="0,4,0,0"/>
|
|
</StackPanel>
|
|
|
|
<!-- Key cards (scrollable) -->
|
|
<ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto" Margin="0,0,0,8">
|
|
<StackPanel x:Name="KeyCardsPanel"/>
|
|
</ScrollViewer>
|
|
|
|
<!-- Details expander -->
|
|
<Expander x:Name="DetailsExpander" Grid.Row="2" Header="Részletek" FontSize="13"
|
|
Margin="0,0,0,8" Expanded="DetailsExpander_Expanded" Collapsed="DetailsExpander_Collapsed">
|
|
<StackPanel Margin="0,8,0,0">
|
|
<TextBlock x:Name="OsppPathText" FontSize="12"
|
|
Foreground="{StaticResource TextSecondaryBrush}" Margin="0,0,0,6"/>
|
|
<Border Background="#F8F8F8" CornerRadius="4" Padding="10"
|
|
BorderBrush="{StaticResource BorderBrush}" BorderThickness="1">
|
|
<TextBox x:Name="OutputText" FontFamily="Consolas" FontSize="11"
|
|
TextWrapping="Wrap" Foreground="{StaticResource TextSecondaryBrush}"
|
|
IsReadOnly="True" Background="Transparent" BorderThickness="0"
|
|
VerticalScrollBarVisibility="Auto" AcceptsReturn="True"
|
|
Height="85"/>
|
|
</Border>
|
|
</StackPanel>
|
|
</Expander>
|
|
|
|
<!-- Buttons -->
|
|
<StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,4,0,0">
|
|
<Button x:Name="BtnRefresh" Content="Állapot frissítése" Style="{StaticResource SecondaryButton}"
|
|
Click="BtnRefresh_Click" Margin="0,0,8,0"/>
|
|
<Button x:Name="BtnRemoveAll" Content="Összes kulcs eltávolítása" Style="{StaticResource PrimaryButton}"
|
|
Click="BtnRemoveAll_Click" IsEnabled="False" Visibility="Collapsed"/>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Page>
|