private void frmCadastroProduto_Load(object sender, EventArgs e)
        {
            //Combo da Categoria
            this.alteraBotoes(1);
            DALConexao   cx  = new DALConexao(DadosDaConexao.StringDeConexao);
            BBLCategoria bll = new BBLCategoria(cx);

            cboCategoria.DataSource    = bll.Localizar("");
            cboCategoria.DisplayMember = "cat_nome";
            cboCategoria.ValueMember   = "cat_cod";
            try
            {
                //Combo da SubCategoria
                BBLSubCategoria sbll = new BBLSubCategoria(cx);
                cboSubCategoria.DataSource    = sbll.LocalizaPorCategoria((int)cboCategoria.SelectedValue);
                cboSubCategoria.DisplayMember = "scat_nome";
                cboSubCategoria.ValueMember   = "scat_cod";
            }
            catch
            {
                MessageBox.Show("Ops! Não Existe Nenhuma Categoria Cadastrada!");
            }
            //Combo Unidade Medida
            BBLUnidadeMedida mbll = new BBLUnidadeMedida(cx);

            cboUnidadeMedida.DataSource    = mbll.Localizar("");
            cboUnidadeMedida.DisplayMember = "umed_nome";
            cboUnidadeMedida.ValueMember   = "umed_cod";
        }
        private void btLocalizar_Click(object sender, EventArgs e)
        {
            DALConexao       cx  = new DALConexao(DadosDaConexao.StringDeConexao);
            BBLUnidadeMedida bbl = new BBLUnidadeMedida(cx);

            dgvDados.DataSource = bbl.Localizar(txtValor.Text);
        }