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

            //DSForm.updateTaginfo(row);
        }
예제 #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();
        }
예제 #3
0
 public Worker(FormRealTime objet)
 {
     DSForm = objet;
 }