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

@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
@@ -194,6 +195,13 @@ namespace InstaSoftOfficeTool
BtnNext.Click += (s, e) => Close();
}
public Task<bool> ConfirmAsync(string title, string message,
string confirmText = "Igen", string cancelText = "M\u00e9gse",
DialogType type = DialogType.Warning)
{
return Dialog.ShowAsync(title, message, confirmText, cancelText, type);
}
public void ShowBackToHomeButton()
{
BtnBack.Content = "\u2190 F\u0151oldal";