private void Btn_agregar_Click(object sender, RoutedEventArgs e)
        {
            ProveedorBLL pb          = new ProveedorBLL();
            bool         nombre      = true;
            bool         fon         = true;
            bool         email       = true;
            bool         direccion   = true;
            bool         descripcion = true;

            if (txt_nombre.Text.Trim() == "")
            {
                nombre      = false;
                lb1.Content = "Debe ingresar un nombre";
            }

            if (Fono.Text.Trim() == "")
            {
                fon         = false;
                lb2.Content = "Debe ingresar un número teléfonico";
            }

            if (txt_correo.Text.Trim() == "")
            {
                email       = false;
                lb3.Content = "Debe ingresar un correo";
            }

            if (Direccion.Text.Trim() == "")
            {
                direccion   = false;
                lb4.Content = "Debe ingresar una dirección";
            }
            if (txt_desc.Text.Trim() == "")
            {
                descripcion = false;
                lb5.Content = "Debe ingresar una descripcion";
            }

            if (nombre == true && fon == true && email == true && direccion == true && descripcion == true)
            {
                bool existe = pb.Get_provnomexiste(txt_nombre.Text);
                if (existe)
                {
                    lb1.Content = "Ya existe un proveedor con este nombre";
                }
                else
                {
                    pb.nombre_proveedor    = txt_nombre.Text;
                    pb.fono_proveedor      = Int32.Parse(Fono.Text);
                    pb.mail_proveedor      = txt_correo.Text;
                    pb.direccion_proveedor = Direccion.Text;
                    pb.descripcion         = txt_desc.Text;
                    pb.add_prov(pb);
                    PopupNotifier popup = new PopupNotifier();
                    popup.TitleText         = "Aviso";
                    popup.Image             = Properties.Resources.add;
                    popup.ContentText       = "Se ha Agragado al Proveedor: " + txt_nombre.Text;
                    popup.AnimationDuration = 500;
                    popup.Delay             = 2500;
                    popup.Popup();
                    txt_nombre.Text = "";
                    Fono.Text       = "";
                    txt_correo.Text = "";
                    Direccion.Text  = "";
                    txt_desc.Text   = "";
                }
            }
        }