예제 #1
0
        public async Task <bool> ShowDialogAsync(ModalDialogViewModelBase dialog)
        {
            ModalDialog = dialog;

            bool res = await ModalDialog.ShowDialogAsync();

            ModalDialog = null;

            return(res);
        }
예제 #2
0
        public async Task <bool> ShowDialogAsync(ModalDialogViewModelBase dialog)
        {
            ModalDialog = dialog;

            return(await ModalDialog.ShowDialogAsync());
        }