private void btnSalvar_Click(object sender, EventArgs e)
        {
            var bll = new LivrosBLL();

            bll.SalvarLivros(txtTitulo, txtAutor, txtCategoria, txtLancamento, txtExemplares);
            bll.CarregarGrid(mgLivros);
            bll.LimparCampos(txtTitulo, txtAutor, txtCategoria, txtLancamento, txtExemplares);
        }
        private void btnAtualizar_Click(object sender, EventArgs e)
        {
            var bll = new LivrosBLL();

            bll.CarregarGrid(mgLivros);
            bll.LimparCampos(txtTitulo, txtAutor, txtCategoria, txtLancamento, txtExemplares);
            MessageBox.Show("Atualizado Com Sucesso");
        }
        //====================================Grid===================================
        private void mgLivros_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            var bll = new LivrosBLL();

            bll.ExibirGridTxt(txtTitulo, txtAutor, txtCategoria, txtLancamento, txtExemplares, mgLivros);
        }
        private void CarregarDGV()
        {
            var bll = new LivrosBLL();

            bll.CarregarGrid(mgLivros);
        }
        //=====================Carregamento=================
        private void Livros_Load(object sender, EventArgs e)
        {
            var bll = new LivrosBLL();

            bll.CarregarGrid(mgLivros);
        }