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