public void OnActive(EventArgs e) { EventHandler handler = Active; if (handler != null) handler(this, e); }