在一个Form1中的Button1点击显示Form2,我想让Form2显示在Button1的下面,怎么办?
在一个Form1中的Button1点击显示Form2,我想让Form2显示在Button1的下面,怎么办?
Form2 frm = new Form2();
//frm.DesktopLocation = new Point(button1.Left, button1.Right);
frm.SetDesktopLocation(button1.Left, button1.Right);
frm.ShowDialog(this);
这样不行呢??