/************************************************************************* * 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; }
/* * Evento de fechamento do form */ private void MainForm_FormClosed(object sender, FormClosedEventArgs e) { ThreadRun.stopAll(); GTracker.stopCommunication(); }