Example #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();
                }
            }
Example #2
0
 public Mode1(TestForm form) : base(form)
 {
 }
Example #3
0
            public Mode2(TestForm form) : base(form)
            {
                Thread thread = new Thread(this.ThreadMethod);

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