private void Form1_Load(object sender, EventArgs e)
        {
            languageIdentificationUtility = new LanguageIdentificationUtility();
            languageIdentificationUtility.ProgressCountExistingStrings += languageIdentificationUtility_ProgresoContarCombinacionesExistentes;
            languageIdentificationUtility.ProgressCalculateProbabilitiesChangeState += languageIdentificationUtility_ProgresoCalcularProbabilidadesCambioEstado;
            languageIdentificationUtility.ProgressCalculateProbabilitiesInitialState += languageIdentificationUtility_ProgresoCalcularProbabilidadesEstadoInicial;

            workerCreateLanguageIdentificationModel = new BackgroundWorker() { WorkerSupportsCancellation = true };
            workerCreateLanguageIdentificationModel.DoWork += workerCreateLanguageIdentificationModel_DoWork;
            workerCreateLanguageIdentificationModel.RunWorkerCompleted += workerCreateLanguageIdentificationModel_RunWorkerCompleted;

            groupingUtility = new GroupingUtility();

            appState = enumAppState.showing;

            btnOWL_Click(null, null);
        }
 private void workerCreateLanguageIdentificationModel_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     appState = enumAppState.showing;
 }
 private void btnCreateLanguageIdentificationModel_Click(object sender, EventArgs e)
 {
     Button _button = (Button)sender;
     appState = enumAppState.processing;
     if (!workerCreateLanguageIdentificationModel.IsBusy)
         workerCreateLanguageIdentificationModel.RunWorkerAsync();
 }