private void btnAddCategoria_Click(object sender, EventArgs e) { frmCadastroCategoria f = new frmCadastroCategoria(); f.ShowDialog(); f.Dispose(); DALConexao cx = new DALConexao(DadosDaConexao.stringDeConexao); DAOCategoria bll = new DAOCategoria(cx); cboCatCod.DataSource = bll.Localizar(""); cboCatCod.DisplayMember = "cat_nome"; cboCatCod.ValueMember = "cat_cod"; }