public partial class Form1 : Form
{
Form2 f2 = new Form2();
f2.方法
f2.对象
private void button1_Click(object sender, EventArgs e)
{
Form2 f2 = new Form2(this);
f2.Show();
}
}
public partial class Form1 : Form
{
Form2 f2 = new Form2();
f2.方法
f2.对象
private void button1_Click(object sender, EventArgs e)
{
Form2 f2 = new Form2(this);
f2.Show();
}
}