Exemplo n.º 1
0
        public Task <bool> ShowForgetServerDialogAsync(ForgetServerModel model)
        {
            Console.WriteLine("XMA: Forget Server dialog shown!");

            return(Task.FromResult(true));
        }
Exemplo n.º 2
0
        public Task <bool> ShowForgetServerDialogAsync(ForgetServerModel model)
        {
            var result = MessageBox.Show("This is the Forget Server Dialog!");

            return(Task.FromResult(result == MessageBoxResult.OK || result == MessageBoxResult.Yes));
        }