From 5dbe0ca9fe177aa83779ebad921b5d1d2cae6278 Mon Sep 17 00:00:00 2001 From: Shuxia Ning <NingShuxia0927@outlook.com> Date: 星期三, 11 九月 2024 17:44:58 +0800 Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0 --- WinFrmUI/HStation.WinFrmUI.Assets.Core/05-ValveManage/AddValveSeriesDlg.cs | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/01-ValveManage/AddValveSeriesDlg.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/05-ValveManage/AddValveSeriesDlg.cs similarity index 77% rename from WinFrmUI/HStation.WinFrmUI.Assets.Core/01-ValveManage/AddValveSeriesDlg.cs rename to WinFrmUI/HStation.WinFrmUI.Assets.Core/05-ValveManage/AddValveSeriesDlg.cs index fa54dc1..3ebccd4 100644 --- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/01-ValveManage/AddValveSeriesDlg.cs +++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/05-ValveManage/AddValveSeriesDlg.cs @@ -9,9 +9,7 @@ InitializeComponent(); } - public event Func<Vmo.ValveSeries, Task<bool>> ReloadDataEvent = null; - - private Yw.BLL.SysCatalog _bll = null; + public event Func<Vmo.ValveSeriesVmo, Task<bool>> ReloadDataEvent = null; //鏁版嵁楠岃瘉 private bool Valid() @@ -30,16 +28,16 @@ { if (!Valid()) return; - var model = new Vmo.ValveSeries(); + var model = new Vmo.ValveSeriesVmo(); model.Name = NameTextEdit.Text; if (await this.ReloadDataEvent.Invoke(model)) { - MessageBoxHelper.ShowSuccess("娣诲姞鎴愬姛!"); + TipFormHelper.ShowSucceed("娣诲姞鎴愬姛!"); } else { - MessageBoxHelper.ShowError("娣诲姞澶辫触!"); + TipFormHelper.ShowSucceed("娣诲姞澶辫触!"); } this.DialogResult = DialogResult.OK; this.Close(); -- Gitblit v1.9.3