Esempio n. 1
0
        static void Main(string[] args)
        {
            DSForm = new FormRealTime();
            Application.Run(DSForm);

            //DSForm.updateTaginfo(row);
        }
Esempio n. 2
0
        static void Main()
        {
            InitTagsEPC();
            DSForm = new FormRealTime(TagsEPC);
            // Create the thread object. This does not start the thread.
            Worker workerObject = new Worker(DSForm);
            Thread workerThread = new Thread(workerObject.DoWork);

            // Start the worker thread.
            workerThread.Start();
            Console.WriteLine("main thread: Starting worker thread...");

            Application.Run(DSForm);
            workerObject.RequestStop();
        }
Esempio n. 3
0
 public Worker(FormRealTime objet)
 {
     DSForm = objet;
 }