private void Show() { dialogViewModel = new CurrentTimeDialogViewModel(); dialogService.Show(this, dialogViewModel); ShowCommand.NotifyCanExecuteChanged(); ActivateCommand.NotifyCanExecuteChanged(); }
private void Close() { dialogService.Close(dialogViewModel !); dialogViewModel = null; ShowCommand.NotifyCanExecuteChanged(); CloseCommand.NotifyCanExecuteChanged(); }