private void resultadoDGV_CellContentClick(object sender, DataGridViewCellEventArgs e) { if (e.ColumnIndex == 2) { Forms.Cliente.GerenciamentoPopUp parcelas = new Forms.Cliente.GerenciamentoPopUp(); parcelas.Cliente = Library.ClienteBD.FindById((long)resultadoDGV[0, e.RowIndex].Value); parcelas.ShowDialog(this); } }
private void resultadoDGV_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { Forms.Cliente.GerenciamentoPopUp Ger = new Forms.Cliente.GerenciamentoPopUp(); Ger.Cliente = Library.ClienteBD.FindById((long)resultadoDGV[0, e.RowIndex].Value); Ger.ShowDialog(this); }