日期:2014-05-17 浏览次数:20739 次
private void button1_Click(object sender, EventArgs e)
{
Form1 f2 = new Form2();
f2.StartPosition = FormStartPosition.Manual;
f2.Location=this.PointToScreen(new Point((this.Width - f2.Width) / 2, (this.Height - f2.Height) / 2));
f2.Show();
}