private void toolNew_Click(object sender, EventArgs e)
        {
            Supper    so  = new Supper();
            FrmSupper fss = new FrmSupper(so, constr);

            fss.ShowDialog();
            fss.Dispose();
        }
 private void dgSupperSet_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (dgList.CurrentRow.Index > 0)
     {
         Supper so = new Supper();
         so.Supper_id       = int.Parse(dgList.CurrentRow.Cells[0].Value.ToString());
         so.Supper_name     = dgList.CurrentRow.Cells[1].Value.ToString();
         so.SUPPLIER_id     = int.Parse(dgList.CurrentRow.Cells[2].Value.ToString());
         so.SUPPLIER_Number = dgList.CurrentRow.Cells[3].Value.ToString();
         so.SUPPLIER_Name   = dgList.CurrentRow.Cells[4].Value.ToString();
         so.UserOrg_id      = int.Parse(dgList.CurrentRow.Cells[5].Value.ToString());
         so.UserOrg_Number  = dgList.CurrentRow.Cells[6].Value.ToString();
         so.UserOrg_Name    = dgList.CurrentRow.Cells[7].Value.ToString();
         FrmSupper fss = new FrmSupper(so, constr);
         fss.ShowDialog();
         fss.Dispose();
     }
 }