private void Btn_agregar_Click(object sender, RoutedEventArgs e)
        {
            AgregarCliente agreCli = new AgregarCliente("", "", "", "", "", "", 0, 0);

            this.Close();
            agreCli.Show();
        }
 private void Btn_Modificar_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         Cliente        cli = (Cliente)dg_AdmiCliente.SelectedItem;
         AgregarCliente Ag  = new AgregarCliente(cli.RutCliente, cli.NombreContacto, cli.RazonSocial, cli.MailContacto, cli.Direccion, cli.Telefono, cli.IdTipoEmpresa, cli.IdActividadEmpresa);
         Ag.Show();
         this.Close();
     }
     catch
     { }
 }