Cookie Consent by Free Privacy Policy Generator Polipone
<aprile 2026>
lunmarmergiovensabdom
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910
  • Aggiungere la using Windows.UI.Popups;
  • Creazione Messaggio:
    • var messageDialog = new MessageDialog("my message" [, "MESSAGE"]);
  • Aggiunta bottoni (opzionale)
    • messageDialog.Commands.Add(new UICommand("OK", new UICommandInvokedHandler(this.CommandInvokedHandler)));
    • messageDialog.Commands.Add(new UICommand("Cancel", new UICommandInvokedHandler(this.CommandInvokedHandler)));
    • messageDialog.DefaultCommandIndex = 0;
    • messageDialog.CancelCommandIndex = 1;
  • Esecuzione del Messaggio:
    • await messageDialog.ShowAsync();
  • Aggiunta gestore evento bottoni (opzionale)
    • private void CommandInvokedHandler(IUICommand command)
    • {
    •     // Do something here on the command handler
    • }

 

Tutor On-Line
Ciao, sono il tuo Tutor on-line. Come posso aiutarti? 07:59

Notifiche