Form2 ConfigForm = new Form2(); ConfigForm.Width = 300; ConfigForm.Height = 148; ConfigForm.ShowDialog();
What I get is
Which is totally wrong size.
What it's like in designer, and what shows if I just use ConfigForm.Show() is.
Does anyone know why this ocurrs, and how to fix it?
Thanks again for reading my problem.
I should add, that if I don't try to set width and height, the result is exactly the same.