예제 #1
0
        private void btPesquisar_Click(object sender, EventArgs e)
        {
            formEstoque formSearch = new formEstoque();

            formSearch.pnButtons.Visible = false;
            formSearch.ShowDialog(this);
        }
예제 #2
0
        private void btPesquisar_Click(object sender, EventArgs e)
        {
            formEstoque formSearch = new formEstoque();

            formSearch.categoriasToolStripMenuItem.Enabled = false;
            formSearch.adicionarToolStripMenuItem.Enabled  = false;
            formSearch.editarToolStripMenuItem.Enabled     = false;
            formSearch.removerToolStripMenuItem.Enabled    = false;
            formSearch.ShowDialog(this);
        }