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