/// <summary> /// Builds the application context. /// </summary> public AppContext() { Application.ApplicationExit += new EventHandler(this.OnExit); this.blocker = new Blocker(); InitializeComponent(); notifyIcon.Visible = true; checkPowerLineStatus(); }