G
Govert J. Knopper
Here's my C# newbie question:
How do I set the position of a modal form?
This (correctly) positions top left of the form at the position of the
main form:
....
Form frmAbout = new About();
frmAbout.Show();
frmAbout.Left = this.Left;
frmAbout.Top = this.Top;
....
But this doesn't work
....
Form frmAbout = new About();
frmAbout.ShowDialog();
frmAbout.Left = this.Left;
frmAbout.Top = this.Top;
....
thanks, Govert
How do I set the position of a modal form?
This (correctly) positions top left of the form at the position of the
main form:
....
Form frmAbout = new About();
frmAbout.Show();
frmAbout.Left = this.Left;
frmAbout.Top = this.Top;
....
But this doesn't work
....
Form frmAbout = new About();
frmAbout.ShowDialog();
frmAbout.Left = this.Left;
frmAbout.Top = this.Top;
....
thanks, Govert