private void dgvFrockReport_DoubleClick(object sender, EventArgs e) { if (dgvFrockReport.CurrentRow == null) { return; } 工装验证报告 form = new 工装验证报告(dgvFrockReport.CurrentRow.Cells["单据号"].Value.ToString()); form.ShowDialog(); }
/// <summary> /// 获得子窗体的所有信息 /// </summary> /// <param name="djh">单据号</param> bool GetMessage(string djh) { 工装验证报告 form = new 工装验证报告(djh); form.ShowDialog(); m_dtAttached = form.DtAttached; m_lnqFrock = form.LnqFrock; if (m_lnqFrock == null) { return(false); } PositioningRecord(m_lnqFrock.DJH); return(true); }