private void abreProduto(object sender, DataGridViewCellMouseEventArgs e) { int idp = Convert.ToInt32(grdQuitarPagtosPendentes[0, grdQuitarPagtosPendentes.CurrentRow.Index].Value); frmVerVendas frm = new frmVerVendas(idp); frm.Show(); }
private void abrePedido(object sender, DataGridViewCellEventArgs e) { int idp = Convert.ToInt32(grdHistoricoCreditosUsados[2, grdHistoricoCreditosUsados.CurrentRow.Index].Value); frmVerVendas frm = new frmVerVendas(idp); frm.Show(); }
private void grdConsultaPedido_DoubleClick(object sender, EventArgs e) { int idp = Convert.ToInt32(grdConsultaPedido[0, grdConsultaPedido.CurrentRow.Index].Value); frmVerVendas frm = new frmVerVendas(idp); // frm.MdiParent = c; frm.Show(); }
public void abreProduto(Object sender, EventArgs e) { // MDIParent1 parent = new MDIParent1(); int idp = Convert.ToInt32(grdConsultaVendasCanceladas[0, grdConsultaVendasCanceladas.CurrentRow.Index].Value); frmVerVendas frm = new frmVerVendas(idp); frm.Show(); }