Ejemplo n.º 1
0
 public void CancelWindow(object data)
 {
     try
     {
         this.NewUser = null;
         CloseWindow  = false;
     }
     catch (Exception ex)
     {
         LogSystem.Error(ex);
     }
 }
Ejemplo n.º 2
0
 public UserCreateViewModel()
 {
     this.NewUser            = new AAS.EFMODEL.DataModels.User();
     this.CreateNewCommand   = new RelayCommand(this.CreateNewUser, null);
     this.CloseWindowCommand = new RelayCommand(this.CancelWindow, null);
 }