private void notifyIcon_BalloonTipClicked(object Sender, EventArgs e) { if (balloonTipCallback != null) { ComEvent.InvokeComCallback(balloonTipCallback); } }
private void Elapsed(object sender, ElapsedEventArgs e) { if (Callback != null) { ComEvent.InvokeComCallback(Callback); } }
/// <summary> Provide callback testability from VBScript. </summary> public void InvokeCallbackByIndex(int index) { foreach (var reference in this.settings.Refs) { if (reference.Index == index) { ComEvent.InvokeComCallback(reference.Reference); } } }