private void btnAdd_Click(object sender, EventArgs e)
        {
            合格隔离明细 frm = new  合格隔离明细(m_authFlag);

            frm.ShowDialog();

            DataGridViewBind();

            if (dataGridView1.Rows.Count > 0)
            {
                PositioningRecord(dataGridView1.Rows[dataGridView1.Rows.Count - 1].Cells["单据号"].Value.ToString());
            }
        }
        private void dataGridView1_DoubleClick(object sender, EventArgs e)
        {
            DataGridViewRow row = dataGridView1.CurrentRow;

            string DJH         = row.Cells["单据号"].Value.ToString();
            string Storage     = row.Cells["库房名称"].Value.ToString();
            string Quarantine  = row.Cells["隔离原因"].Value.ToString();
            string LRRY        = row.Cells["编制人员"].Value.ToString();
            string LRBM        = row.Cells["编制部门"].Value.ToString();
            string Remark      = row.Cells["备注"].Value.ToString();
            string flag        = row.Cells["单据状态"].Value.ToString();
            string handle      = row.Cells["处理结果"].Value.ToString();
            string disposeName = row.Cells["处理人"].Value.ToString();
            string dispose     = row.Cells["处理方案"].Value.ToString();

            合格隔离明细 frm = new  合格隔离明细(DJH, Storage, Quarantine, LRRY, LRBM, Remark,
                                     flag, handle, disposeName, dispose, m_authFlag);

            frm.ShowDialog();

            DataGridViewBind();
            PositioningRecord(DJH);
        }