예제 #1
0
 /**
  * Inicializa el controlador
  */
 private void InicializaControlador()
 {
     // Habilita el controlador
     this.webcam               = new WebcamApp(this.appDataPath, ConfigFile);
     this.onlineStatus.Image   = global::solca_webcam.Properties.Resources.offline_icon;
     this.searchButton.Enabled = false;
 }
예제 #2
0
        /**
         * Lee archivo ini
         */
        public void InicilizaOpciones(WebcamApp webcam) //string appDataPath, string configFileName)
        {
            this.webcam = webcam;                       //new WebcamApp(appDataPath, configFileName);
            this.webcam.InicilizaOpciones();

            UserText.Text = this.webcam.User;
            PassText.Text = this.webcam.Pass;
            DbText.Text   = this.webcam.Db;
        }
예제 #3
0
 private static bool ValidarConexion(WebcamApp webcam)
 {
     return(webcam.ValidarConexion());
 }