private void entradaToolStripMenuItem_Click(object sender, EventArgs e) { using (FormEstoque fEstoque = new FormEstoque()) { if (fEstoque.ShowDialog() == DialogResult.OK) { fEstoque.Close(); listaEstoque(); dataGridView1_Click(dataGridView1, new EventArgs()); atualizaLimiteEstoque(); } } }
private void buttonEstoque_Click(object sender, EventArgs e) { FormEstoque fEstoque = new FormEstoque(); fEstoque.Show(); }