Ejemplo n.º 1
0
        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();
            }
        }
Ejemplo n.º 2
0
        private void ShowResourcesCommandExecuted()
        {
            RaisePropertyChanged("DisableParentWindow");

            var window = new ResourcesView(_event.Date);
            window.ShowDialog();

            RaisePropertyChanged("EnableParentWindow");
        }