I start a new WindowsApp with Form1 with a Button. Added a form Form2 to my project. In the click event handler of my button I do the following:
private void button1_Click(object sender, EventArgs e)
{
Form2 F = new Form2();
Point P = new Point(500, 500);
F.Location = P;
F.Show();
}
Why does the second form always appears just below the title bar of the first form? Whatever I do with F.Location it shows always on the same place. Am I ommitting something?
Any suggestions are more than welcome.