Beispiel #1
0
 private void Cd_PrimaryButtonClick(Windows.UI.Xaml.Controls.ContentDialog sender, Windows.UI.Xaml.Controls.ContentDialogButtonClickEventArgs args)
 {
     if (Commands.Count > 0)
     {
         Commands[0].Invoked.Invoke(Commands[0]);
     }
 }
Beispiel #2
0
 private void Cd_SecondaryButtonClick(Windows.UI.Xaml.Controls.ContentDialog sender, Windows.UI.Xaml.Controls.ContentDialogButtonClickEventArgs args)
 {
     Commands[1].Invoked.Invoke(Commands[1]);
 }