/// <summary> /// Handles sciter notifications /// </summary> protected virtual void OnProcessCallbackHost(CallbackHostEventArgs e) { Debug.WriteLine(String.Format("Host event: [{0}, {1}]", e.First, e.Second)); if (HasEvents) { var handler = (EventHandler <CallbackHostEventArgs>)Events[CallbackHostEvent]; if (handler != null) { handler(this, e); } } }
/// <summary> /// Handles sciter notifications /// </summary> protected virtual void OnProcessCallbackHost(CallbackHostEventArgs e) { Debug.WriteLine(String.Format("Host event: [{0}, {1}]", e.First, e.Second)); if (HasEvents) { var handler = (EventHandler<CallbackHostEventArgs>)Events[CallbackHostEvent]; if (handler != null) { handler(this, e); } } }
/// <summary> /// Occurs when sciter wants to notify host /// </summary> void ISciterNotifications.ProcessCallbackHost(CallbackHostEventArgs e) { OnProcessCallbackHost(e); }