protected override void OnPaint(WinForms.PaintEventArgs pe) { if (this.Size.Height != 22) { this.Size = new Size(this.Size.Width, 22); } PaintLibrary.Box(pe, this.Size, "", true); }
protected override void OnPaint(WinForms.PaintEventArgs pe) { PaintLibrary.Box(pe, this.Size, string.Empty, true); base.OnPaint(pe); }
protected override void OnPaint(System.Windows.Forms.PaintEventArgs pe) { base.OnPaint(pe); PaintLibrary.Box(pe, this.Size, this.Text, false); }