/// <summary> /// Updates the GUI Status labels /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void UpdateGUIStatus(object sender, EventArgs e) { motionCaptureStatus = tcpServer.Running(); if (motionCaptureStatus) { labelStatusMCText.Text = "Running"; } else { labelStatusMCText.Text = "Not Running"; } labelStatusCCText.Text = tcpServer.CameraCount().ToString(); labelStatusTCPText.Text = tcpServer.ConnectionStatus(); labelStatusVMText.Text = MarkerList.listOfMarkers.Count.ToString(); labelStatusVTText.Text = tcpServer.TrackableCount.ToString(); labelStatusTSText.Text = treadmillSpeed; }