Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EventsHandler"/> class.
 /// </summary>
 internal static void Initialize()
 {
     EventsHandler.EHandler += EventsHandler.Process;
     EventsHandler.SetConsoleCtrlHandler(EventsHandler.EHandler, true);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EventsHandler"/> class.
 /// </summary>
 internal EventsHandler()
 {
     EventsHandler.EHandler += this.Handler;
     EventsHandler.SetConsoleCtrlHandler(EventsHandler.EHandler, true);
 }