//主窗体
ChildForm f=new ChildForm();
if(f.ShowDialog() == DialogResult.OK)
{
......................................
}
//ChildForm某事件
this.DialogResult = DialogResult.OK;