private void gridControl1_DoubleClick(object sender, EventArgs e) { DataRow dr = gridView1.GetFocusedDataRow(); if (dr == null) { return; } if (para != null) { returnRow = dr; Close(); return; } frmAuthor frmObj = new frmAuthor(new object[] { dr["AUTHORID"] }); frmObj.FormClosed += frmObj_FormClosed; frmObj.MdiParent = frmMain.ActiveForm; frmObj.Show(); }