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