rn.ShowDialog() == DialogResult.OK

//主窗体

ChildForm f=new ChildForm();

if(f.ShowDialog() == DialogResult.OK)

{

......................................

}

//ChildForm某事件

{

this.DialogResult = DialogResult.OK;

}

posted on 2012-10-25 15:07  习惯简单  阅读(351)  评论(0编辑  收藏  举报

导航