v1.08 — Custom Fluent confirmation dialog, replace all MessageBox

- New ConfirmDialog overlay with dark backdrop, rounded card, shadow
- Warning/Question/Error icon types with accent colors
- Replaced all MessageBox.Show calls (RemovePage, PreInstallCheck, Troubleshoot)
- Click outside dialog = cancel

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hariel1985
2026-03-31 06:36:13 +02:00
szülő c23865d5f5
commit f41b821d24
8 fájl változott, egészen pontosan 154 új sor hozzáadva és 13 régi sor törölve

Fájl megtekintése

@@ -51,11 +51,12 @@ namespace InstaSoftOfficeTool.Pages
private async void BtnRemove_Click(object sender, RoutedEventArgs e)
{
var result = MessageBox.Show(
bool confirmed = await _main.ConfirmAsync(
"Office elt\u00e1vol\u00edt\u00e1s",
"Biztosan el szeretn\u00e9 t\u00e1vol\u00edtani a kiv\u00e1lasztott Office telep\u00edt\u00e9seket?",
"Meger\u0151s\u00edt\u00e9s", MessageBoxButton.YesNo, MessageBoxImage.Warning);
"Elt\u00e1vol\u00edt\u00e1s", "M\u00e9gse");
if (result != MessageBoxResult.Yes) return;
if (!confirmed) return;
BtnRemove.IsEnabled = false;
LogPanel.Visibility = Visibility.Visible;