Esempio n. 1
0
 private static void FiddlerApplication_OnNotification(object sender, Fiddler.NotificationEventArgs e)
 {
     throw new NotImplementedException();
 }
 internal static void DoNotifyUser(string sMessage, string sTitle, MessageBoxIcon oIcon)
 {
     if (OnNotification != null)
     {
         NotificationEventArgs e = new NotificationEventArgs(string.Format("{0} - {1}", sTitle, sMessage));
         OnNotification(null, e);
     }
     if (!CONFIG.QuietMode)
     {
         MessageBox.Show(sMessage, sTitle, MessageBoxButtons.OK, oIcon);
     }
 }
Esempio n. 3
0
 internal void OnOnNotification(object sender, NotificationEventArgs e)
 {
     EventHandler<NotificationEventArgs> handler = OnNotification;
     if (handler != null) handler(this, e);
 }