A couple of questions
I have a progress form, if the form user wants to display an extra line of
text then they call the following
{
frmProgress f = new frmProgress();
f.SetLabel("Hello");
f.ShowDialog();
}
In the form code, I have the following function
public void SetLabel(string Info)
{
label1.Text = Info;
this.Height = this.Height + label1.Height;
//this.Height = 144;
}
form borderstyle is set to FixedDialog.
If I step into the code, this.Height is set to 117 but the visual form
doesn't get taller.
If I use the this.Height = 144 then the visual form does get taller.
Why?