private void probarConexiones()
        {
            Logica.Internet objLogicaInternet = new Logica.Internet();

            if (objLogicaInternet.hayInternet())
            {
                lblEstadoConexInternet.ForeColor = Color.Green;
                lblEstadoConexInternet.Text = "OK";

                if (objLogicaInternet.estadoWS())
                {
                    lblEstadoWS.ForeColor = Color.Green;
                    lblEstadoWS.Text = "OK";
                }
                else
                {
                    lblEstadoWS.ForeColor = Color.Red;
                    lblEstadoWS.Text = "ERROR";
                }
            }
            else
            {
                lblEstadoConexInternet.ForeColor = Color.Red;
                lblEstadoConexInternet.Text = "ERROR";
                lblEstadoWS.ForeColor = Color.Red;
                lblEstadoWS.Text = "ERROR";
            }

        }
        /// <summary>
        /// Comprueba la Conexión con el AFIP
        /// </summary>
        /// <returns></returns>
        private bool comprobarConexionAFIP()
        {
            bool respuesta;

            lblConexAfipRTA.ForeColor = Color.Black;
            lblConexAfipRTA.Text = "Procesando...";
            lblConexAfipRTA.Refresh();

            Logica.Internet objLogicaInternet = new Logica.Internet();

            if (objLogicaInternet.estadoWS())
            {
                lblConexAfipRTA.ForeColor = Color.Green;
                lblConexAfipRTA.Text = "OK";
                lblConexAfipRTA.Refresh();
                respuesta = true;
            }
            else
            {
                lblConexAfipRTA.ForeColor = Color.Red;
                lblConexAfipRTA.Text = "ERROR";
                lblConexAfipRTA.Refresh();
                respuesta = false;
            }

            return respuesta;
        }