Esempio n. 1
0
            public Mode3(TestForm form) : base(form)
            {
                Thread saveThread = new Thread(this.SaveThreadMethod);

                saveThread.Start();

                int count = (int)form.nbThreads.Value;

                for (int i = 0; i < count; i++)
                {
                    Thread captureThread = new Thread(this.CaptureThreadMethod);
                    captureThread.Start();
                }
            }
Esempio n. 2
0
 public Mode1(TestForm form) : base(form)
 {
 }
Esempio n. 3
0
            public Mode2(TestForm form) : base(form)
            {
                Thread thread = new Thread(this.ThreadMethod);

                thread.Start();
            }
Esempio n. 4
0
 protected BaseMode(TestForm form)
 {
     this.form = form;
 }