日期:2014-05-17 浏览次数:20729 次
窗体1的Button1事件 private void button1_Click(object sender, EventArgs e) { From2 f = new From2 (); f.ShowDialog(); }
Form2 frm = new Form2(); if (frm.ShowDialog() == DialogResult.OK) { //...... } Form2中点击继续时代码为 this.DialogResult = DialogResult.OK;
------解决方案--------------------