From a061384ba628a09bf4df91f50321ab22c03129aa Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期二, 18 三月 2025 20:58:36 +0800
Subject: [PATCH] Winform支持遮罩层;
---
HMI.ParameterManage/ProductModal.xaml.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/HMI.ParameterManage/ProductModal.xaml.cs b/HMI.ParameterManage/ProductModal.xaml.cs
index 53eea7b..29fbb58 100644
--- a/HMI.ParameterManage/ProductModal.xaml.cs
+++ b/HMI.ParameterManage/ProductModal.xaml.cs
@@ -15,6 +15,7 @@
using HMI.UI;
using HMI.ParameterManage.Model;
using HMI.UI.DpUtil;
+using HMI.UI.Util;
namespace HMI.ParameterManage
{
@@ -62,7 +63,7 @@
}
catch (Exception ex)
{
- Panuon.WPF.UI.Toast.Show(this, "Error锛�", ToastPosition.Top);
+ ToastHelper.Error(this, $"Error: {ex.Message}");
e.Cancel = true;
return;
}
--
Gitblit v1.9.1