January 2013
Intermediate to advanced
1136 pages
34h 9m
English
These days programmers are discouraged from making frequent use of message boxes, but I’m sure we can all acknowledge how useful they can be to give the user some important information in a very direct manner, or to obtain a vital Yes, No, or Cancel.
The Windows Runtime supports a message box with the MessageDialog class, and it’s actually quite versatile: Up to three buttons can be labeled with whatever text you’d like. However, there is no Show method in this class. The expected Show method has been replaced with ShowAsync.
That Async suffix is short for “asynchronous,” and that’s a very important sequence of five letters in the Windows Runtime. It’s not just a change of name; it’s a change in how you use the method and ...