From bdd81cb50147a28ac5b9c71511dabed667d2e515 Mon Sep 17 00:00:00 2001 From: taoye Date: Wed, 21 Sep 2022 16:34:23 +0800 Subject: [PATCH] =?UTF-8?q?180=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FryPot_DosingSystem/ViewModel/NewRecipeViewModel.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/FryPot_DosingSystem/ViewModel/NewRecipeViewModel.cs b/FryPot_DosingSystem/ViewModel/NewRecipeViewModel.cs index d9da2fc4..05ef35ac 100644 --- a/FryPot_DosingSystem/ViewModel/NewRecipeViewModel.cs +++ b/FryPot_DosingSystem/ViewModel/NewRecipeViewModel.cs @@ -111,6 +111,7 @@ namespace FryPot_DosingSystem.ViewModel goto prop; } MessageLog.GetInstance.ShowUserLog($"配方【{RecipeName}】新建成功"); + NoticeDemoViewModel.OpenMsg(EnumPromptType.Success, App.MainWindow, "提示", $"新建配方【{RecipeName}】成功"); } else { @@ -134,6 +135,7 @@ namespace FryPot_DosingSystem.ViewModel bom.UpdateTime = DateTime.Now.ToShortDateString(); Json.Save(); MessageLog.GetInstance.ShowUserLog($"配方【{RecipeName}】修改成功"); + NoticeDemoViewModel.OpenMsg(EnumPromptType.Success, App.MainWindow, "提示", $"修改配方【{RecipeName}】成功"); } else { @@ -163,6 +165,7 @@ namespace FryPot_DosingSystem.ViewModel goto prop; } MessageLog.GetInstance.ShowUserLog("另存配方成功"); + NoticeDemoViewModel.OpenMsg(EnumPromptType.Success, App.MainWindow, "提示", $"另存配方【{RecipeName}】成功"); } else {