/// <summary> /// Fires the paragon.app.runtime.onExiting event to JavaScript. /// </summary> private void RaiseExiting() { Exiting.Raise(this, new ApplicationExitingEventArgs(_sessionEnding)); // Give a bit of time for the event to fire in JavaScript. Thread.Sleep(200); CloseEventPage(true); }
private void ApplicationOnExiting(object sender, ApplicationExitingEventArgs e) { Exiting.Raise(() => new object[] { e.SessionEnding }); }