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); } }
internal void OnOnNotification(object sender, NotificationEventArgs e) { EventHandler<NotificationEventArgs> handler = OnNotification; if (handler != null) handler(this, e); }