Пример #1
0
 /// <summary>
 /// Builds the application context.
 /// </summary>
 public AppContext()
 {
     Application.ApplicationExit += new EventHandler(this.OnExit);
     this.blocker = new Blocker();
     InitializeComponent();
     notifyIcon.Visible = true;
     checkPowerLineStatus();
 }
Пример #2
0
 /// <summary>
 /// Builds the application context.
 /// </summary>
 public AppContext()
 {
     Application.ApplicationExit += new EventHandler(this.OnExit);
     this.blocker = new Blocker();
     InitializeComponent();
     notifyIcon.Visible = true;
     checkPowerLineStatus();
 }