Exemple #1
0
        /*************************************************************************
        *                          Inicializacoes                               *
        *************************************************************************/

        /*
         * Inicializa as threads
         *
         */
        void initAllEntities()
        {
            GTracker.createCommunication(TYPE_COMMUNICATION.AMQP);

            trackerController = TrackerController.TrackerCtrl;
            trackerController.Init();


            // Inicia todas as threads
            //ThreadManager.start();

            timer1.Enabled = true;
        }
Exemple #2
0
 /*
  * Evento de fechamento do form
  */
 private void MainForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     ThreadRun.stopAll();
     GTracker.stopCommunication();
 }