//设置进程参数,打开“设置”窗口 private void button1_Click(object sender, EventArgs e) { form2 frm2 = new form2(this); frm2.ShowDialog(); }