清理引用,将NavigatorServices更改为使用Message来实现导航的切换
This commit is contained in:
@@ -6,7 +6,8 @@ namespace PMSWPF.Helper;
|
||||
|
||||
public class NotificationHelper
|
||||
{
|
||||
public static void ShowMessage(string msg, NotificationType notificationType=NotificationType.Info,bool isGlobal = false)
|
||||
public static void ShowMessage(string msg, NotificationType notificationType = NotificationType.Info,
|
||||
bool isGlobal = false)
|
||||
{
|
||||
WeakReferenceMessenger.Default.Send<NotificationMessage>(
|
||||
new NotificationMessage(msg, notificationType));
|
||||
|
||||
Reference in New Issue
Block a user