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

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