A
augustesen
Hi all.
I am having some problems with using the GroupBox from OpenNETCF.
I have a form with a button that calls an About form, which is
generated at runtime. On this About form there is a GroupBox and some
labels.
The problem I have is that the background color on the labels have the
same color as the main form, and not the About form - does anyone know
how to fix this? I would appriciate it very much.
This is how I declare the Label
this.lblLinje4 = new Label();
this.lblLinje4.BackColor = Color.LightGray;
this.lblLinje4.Font = new Font("Courier New", 11,
FontStyle.Regular);
this.lblLinje4.Text = "GTC";
this.lblLinje4.Size = new Size(this.Width - 40, 20);
this.lblLinje4.Location = new Point(10, 110);
this.group.Controls.Add(this.lblLinje4);
Where 'lblLinje4' is the label and 'group' ís the GroupBox.
Can anyone help?
Regards
Søren Augustesen
I am having some problems with using the GroupBox from OpenNETCF.
I have a form with a button that calls an About form, which is
generated at runtime. On this About form there is a GroupBox and some
labels.
The problem I have is that the background color on the labels have the
same color as the main form, and not the About form - does anyone know
how to fix this? I would appriciate it very much.
This is how I declare the Label
this.lblLinje4 = new Label();
this.lblLinje4.BackColor = Color.LightGray;
this.lblLinje4.Font = new Font("Courier New", 11,
FontStyle.Regular);
this.lblLinje4.Text = "GTC";
this.lblLinje4.Size = new Size(this.Width - 40, 20);
this.lblLinje4.Location = new Point(10, 110);
this.group.Controls.Add(this.lblLinje4);
Where 'lblLinje4' is the label and 'group' ís the GroupBox.
Can anyone help?
Regards
Søren Augustesen