private void RaiseOptionNotifications()
 {
     // TODO: Options/settings window
     CustomNotificationRequest.Raise(new OptionsNotification()
     {
         Title              = "Options",
         Content            = "",
         VlcInstallDiretory = "VLC installation directory"
     });
 }
 private void RaiseCustomInteraction()
 {
     CustomNotificationRequest.Raise(new CustomNotification {
         Title = "Custom Notification"
     }, r =>
     {
         if (r.Confirmed && r.SelectedItem != null)
         {
             Title = $"User selected: { r.SelectedItem}";
         }
         else
         {
             Title = "User cancelled or didn't select an item";
         }
     });
 }
Exemple #3
0
 void CustomPopup()
 {
     CustomNotificationRequest.Raise(new Notification {
         Title = "Custom Popup", Content = "Custom Popup Message "
     }, r => Title = "Good to go");
 }