Example #1
0
        private Task Save()
        {
            var message = new MessageBoxCoTask("Your changes where saved.")
                          .Caption("Save")
                          .Image(MessageBoxImage.Information);

            return(message.ExecuteAsync());
        }
Example #2
0
        private Task SayHello()
        {
            var message = new MessageBoxCoTask(string.Format("Hello {0}!", Name));

            return(message.ExecuteAsync());
        }