private void button1_Click(object sender, EventArgs e) { frmPesquisaSaida saida = new frmPesquisaSaida(3); ControleRegistro controlRegistro = new ControleRegistro(); saida.ShowDialog(); if (saida.codigo_carga != 0) { lista = controlRegistro.PreencheListaProdutos(saida.codigo_carga); PreencheGrid(); AtualizaInfo(); } else { return; } }
private void sAIDASToolStripMenuItem_Click(object sender, EventArgs e) { frmPesquisaSaida frmSaidas = new frmPesquisaSaida(2); frmSaidas.ShowDialog(); }
private void btnEditar_Click(object sender, EventArgs e) { frmPesquisaSaida frmPesquisa = new frmPesquisaSaida(1); frmPesquisa.ShowDialog(); }