日期:2014-05-18 浏览次数:20944 次
private void Form1_Load(object sender, EventArgs e)
{
Point p = new Point(800, 700);
Form2 f = new Form2(p);
f.Show();
}
public partial class Form2 : Form
{
private Point _point;
public Form2()
{
InitializeComponent();
}
public Form2(Point p):this()
{
_point = p;
}
private void Form2_Load(object sender, EventArgs e)
{
this.Location = _point;
}
}