private void 新建单据ToolStripMenuItem_Click(object sender, EventArgs e) { 质量信息反馈单 form = new 质量信息反馈单(""); form.ShowDialog(); m_blFlag = true; m_lnqMess = form.LnqMess; }
private void dataGridView1_DoubleClick(object sender, EventArgs e) { m_strDJH = dataGridView1.CurrentRow.Cells["单据号"].Value.ToString(); if (m_strDJH != "" || m_strDJH != null) { 质量信息反馈单 form = new 质量信息反馈单(m_strDJH); form.ShowDialog(); m_lnqMess = form.LnqMess; m_blFlag = false; } }