Beispiel #1
0
        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);
        }
Beispiel #2
0
 protected override void OnPaint(WinForms.PaintEventArgs pe)
 {
     PaintLibrary.Box(pe, this.Size, string.Empty, true);
     base.OnPaint(pe);
 }
Beispiel #3
0
 protected override void OnPaint(System.Windows.Forms.PaintEventArgs pe)
 {
     base.OnPaint(pe);
     PaintLibrary.Box(pe, this.Size, this.Text, false);
 }