private void gvListItem_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
 {
     if (e.RowIndex != -1)
     {
         string sProductNo = gvListItem.Rows[e.RowIndex].Cells["col_product_no"].Value.ToString();
         int    iProductNo = -1;
         try
         {
             iProductNo = int.Parse(sProductNo);
         }
         catch
         {
             return;
         }
         if (iProductNo == -1)
         {
             return;
         }
         //string OrderNum_S = gvList.Rows[e.RowIndex].Cells["OrderNo"].Value.ToString();
         FormAddModifyItem formAddModifyItem = new FormAddModifyItem(iProductNo);
         DialogResult      dlgResult         = formAddModifyItem.ShowDialog(this);
         //formAddModifyItem.StartPosition = FormStartPosition.CenterScreen;
         //formAddModifyItem.WindowState = FormWindowState.Normal;
         //formAddModifyItem.ShowDialog();
         //if (formModifySoHeaderInfo.DialogResult == DialogResult.OK)
         //{
         //    return;
         //}
     }
 }
 private void btnAddItem_Click(object sender, EventArgs e)
 {
     FormAddModifyItem formAddModifyItem = new FormAddModifyItem();
     DialogResult      dlgResult         = formAddModifyItem.ShowDialog(this);
 }