private void RaiseEvent(EventHandler handler, EventArgs e) { if (handler != null) { handler(this, e); } }