Beispiel #1
0
 /// <summary>
 /// Handles the ProcessExit event of the CurrentDomain control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 public static void CurrentDomainProcessExit(object sender, EventArgs e)
 {
     CoreEngine.StopEventEngine();
 } // CurrentDomain_ProcessExit
 // OnStart

        /// <summary>
        /// Called when Windows Service stops.
        /// </summary>
        protected override void OnStop()
        {
            CoreEngine.StopEventEngine();
        }