/// <summary> /// Initializes a new instance of the MainWindow class. /// </summary> public MainWindow() { this.skelRec = new SkelRecorder(); this.skelDisp = new SkelDisplay(null); InitializeComponent(); // TODO: Delete this if (isTesting) { AnnTester.initNeuralNetworkTest(); } try { if (!isTesting) { if (isRecord) { Client.BeginReceive(new AsyncCallback(recv), null); } else { this.calibration = new Calibration(SESSION_TIMESTAMP, numOfCameras, this.skelDisp); } } } catch (Exception e) { Debug.WriteLine(e.ToString()); } }