private void dgSPK_CellContentClick(object sender, DataGridViewCellEventArgs e) { string id = dgSPK.SelectedRows[0].Cells["id_transaction"].Value.ToString(); FormSPKNew SPKForm = new FormSPKNew(id); SPKForm.Show(); }
private void dgSPK_RowHeaderMouseClick(object sender, DataGridViewCellMouseEventArgs e) { Debug.WriteLine("pandaa"); string id = dgSPK.SelectedRows[0].Cells["id_transaction"].Value.ToString(); FormSPKNew SPKForm = new FormSPKNew(id); SPKForm.Show(); }