Example #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();
 }
Example #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();
 }