private void 新建单据ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            m_lnqQuality = null;

            质量问题整改处置明细 form = new 质量问题整改处置明细("");

            form.ShowDialog();

            m_lnqQuality = form.LnqQualityProblem;

            RefreshDataGirdView(m_serverQualityProblem.GetAllBill(checkBillDateAndStatus1.dtpStartTime.Value,
                                                                  checkBillDateAndStatus1.dtpEndTime.Value, checkBillDateAndStatus1.cmbBillStatus.Text));

            PositioningRecord(m_lnqQuality.Bill_ID);
        }
        private void dataGridView1_DoubleClick(object sender, EventArgs e)
        {
            if (dataGridView1.Rows.Count == 0)
            {
                return;
            }

            if (dataGridView1.CurrentRow.Cells["单据号"].Value.ToString() == "")
            {
                return;
            }

            m_lnqQuality = null;

            质量问题整改处置明细 form = new 质量问题整改处置明细(dataGridView1.CurrentRow.Cells["单据号"].Value.ToString());

            form.ShowDialog();
            m_lnqQuality = form.LnqQualityProblem;

            RefreshDataGirdView(m_serverQualityProblem.GetAllBill(checkBillDateAndStatus1.dtpStartTime.Value,
                                                                  checkBillDateAndStatus1.dtpEndTime.Value, checkBillDateAndStatus1.cmbBillStatus.Text));
            PositioningRecord(m_lnqQuality.Bill_ID);
        }