private async void ShowResourcesCommandExecuted() { RaisePropertyChanged("DisableParentWindow"); var window = new ResourcesView(); //Pass not from event window.ShowDialog(); RaisePropertyChanged("EnableParentWindow"); // refresh grid if (window.ViewModel.IsEventSaved) { await OnLoadEvents(); RefreshAppointments(); } }
private void ShowResourcesCommandExecuted() { RaisePropertyChanged("DisableParentWindow"); var window = new ResourcesView(_event.Date); window.ShowDialog(); RaisePropertyChanged("EnableParentWindow"); }