private Task Save() { var message = new MessageBoxCoTask("Your changes where saved.") .Caption("Save") .Image(MessageBoxImage.Information); return(message.ExecuteAsync()); }
private Task SayHello() { var message = new MessageBoxCoTask(string.Format("Hello {0}!", Name)); return(message.ExecuteAsync()); }