/// <summary>Raises the <see cref="E:System.Windows.Forms.Control.HandleCreated"></see> event.</summary> /// <param name="e">An <see cref="T:System.EventArgs"></see> that contains the event data. </param> protected override void OnHandleCreated(EventArgs e) { base.OnHandleCreated(e); if (ShowShield) { UiUtility.AddShieldToButton(this); } }