Пример #1
0
 public static ModifyPwdWindowViewModel GetInstance()
 {
     if (_instance == null)
     {
         _instance = new ModifyPwdWindowViewModel();
     }
     return(_instance);
 }
Пример #2
0
        public void ExecuteRevcModifyPwd(object para)
        {
            ResultModifyPwdModel pm = para as ResultModifyPwdModel;

            ModifyPwdWindowViewModel.GetInstance().HandlePwd(pm);
        }
Пример #3
0
 public void Close()
 {
     _instance = null;
     CloseAction?.Invoke();
 }