From c401a2f2fd1a509cdeb33e850bb5c2827074af48 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 17 三月 2025 08:44:51 +0800
Subject: [PATCH] 完善框架,新增两个close方法;

---
 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