public WorkerThread(Worker worker1, string s)
 {
     this.s = s;
     worker = worker1;
     th = new Thread(new ThreadStart(this.run));
     th.IsBackground = true;
     th.Name = s;
 }
 private FindBestShift(Worker worker1)
     : base(worker1)
 {
 }
 private SymbolRecognition(Worker worker1)
     : base(worker1)
 {
 }
 static SymbolRecognition()
 {
     Thread.CurrentThread.Name = "Main ";
     worker = new Worker("SymbolRecognition", 20);
     instance = new SymbolRecognition(worker);
 }