public void CancelWindow(object data) { try { this.NewApplication = null; CloseWindow = false; } catch (Exception ex) { LogSystem.Error(ex); } }
public ApplicationCreateViewModel() { this.NewApplication = new AAS.EFMODEL.DataModels.Application(); this.CreateNewCommand = new RelayCommand(this.CreateNewApplication, null); this.CloseWindowCommand = new RelayCommand(this.CancelWindow, null); }