Пример #1
0
        private void Show()
        {
            dialogViewModel = new CurrentTimeDialogViewModel();
            dialogService.Show(this, dialogViewModel);

            ShowCommand.RaiseCanExecuteChanged();
            ActivateCommand.RaiseCanExecuteChanged();
        }
        private void Close()
        {
            dialogService.Close(dialogViewModel);
            dialogViewModel = null;

            ShowCommand.RaiseCanExecuteChanged();
            CloseCommand.RaiseCanExecuteChanged();
        }