コード例 #1
0
        public void edita_produto_from_consultaForm(Object sender, EventArgs e)
        {
            int         idprod       = Convert.ToInt32(grdConsulta[0, grdConsulta.CurrentRow.Index].Value);
            frmCadastro newMDIChild3 = new frmCadastro(idprod);

            newMDIChild3.Show();
        }
コード例 #2
0
        private void btnCadProd_Click(object sender, EventArgs e)
        {
            frmCadastro newMDIChild3 = new frmCadastro();

            newMDIChild3.MdiParent = this;
            newMDIChild3.Show();

            toggleVisibleSubMenus(toolMnuCadastro);
        }