static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); faceTrack _faceTrack = new faceTrack(); comm _com = new comm(_faceTrack); Thread threadCom = new Thread(_com.startCom); threadCom.Start(); Application.Run(_faceTrack); }
public comm(faceTrack _faceTrack) { this._faceTrack = _faceTrack; }