private void llAddStockOut_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     using (申请开票详细 mForm = new 申请开票详细())
     {
         mForm.ShowDialog();
     }
 }
 private void dgvInvoice_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     using (申请开票详细 mForm = new 申请开票详细())
     {
         mForm.mId = Convert.ToInt64(dgvInvoice.Rows[e.RowIndex].Cells["idDataGridViewTextBoxColumn"].Value);
         mForm.ShowDialog();
     }
 }
 private void dgvInvoice_CellClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex < 0)
     {
         return;
     }
     if (e.ColumnIndex == dgvInvoice.Columns["ColModify"].Index)
     {
         using (申请开票详细 mForm = new 申请开票详细())
         {
             mForm.isModify = true;
             mForm.mId      = Convert.ToInt64(dgvInvoice.Rows[e.RowIndex].Cells["idDataGridViewTextBoxColumn"].Value);
             mForm.ShowDialog();
         }
     }
 }