Exemplo n.º 1
0
        public void startNewCommandThread(int startT, CommonClass.Command command, interfaceOfEngine.startNewCommandThread objNeedToStartNewCommandThread)
        {
            Thread th = new Thread(() => newThreadDoBefore(startT, command, objNeedToStartNewCommandThread));

            th.Start();
        }
Exemplo n.º 2
0
 void newThreadDoBefore(int startT, CommonClass.Command command, interfaceOfEngine.startNewCommandThread objNeedToStartNewThread)
 {
     Thread.Sleep(startT);
     objNeedToStartNewThread.newThreadDo(command);
 }