void OnSessionStart () { EventHandler eh = events [startEvent] as EventHandler; if (eh != null) eh (this, EventArgs.Empty); } }