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(); }