Ejemplo n.º 1
0
        private void Show()
        {
            dialogViewModel = new CurrentTimeDialogViewModel();
            dialogService.Show(this, dialogViewModel);

            ShowCommand.NotifyCanExecuteChanged();
            ActivateCommand.NotifyCanExecuteChanged();
        }
Ejemplo n.º 2
0
        private void Close()
        {
            dialogService.Close(dialogViewModel !);
            dialogViewModel = null;

            ShowCommand.NotifyCanExecuteChanged();
            CloseCommand.NotifyCanExecuteChanged();
        }