protected virtual void OnAutoCenterChanged(EventArgs e) { EventHandler handler; Invalidate(); handler = AutoCenterChanged; if (handler != null) { handler(this, e); } }