Ejemplo n.º 1
0
 private void StopRecording()
 {
     _remote_DataManager.ClientStopRecord();
     _remote_DataManager.ClientRequestUpdatedPatientList();
     _patient = _remote_DataManager.PatientList[_selectedPatientIndex];
     FillInFields();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Stops recording
 /// </summary>
 private void StopRecording()
 {
     if (TreadmillSpeed == 0)
     {
         _remote_DataManager.ClientStopRecord();
         this.DialogResult = DialogResult.OK;
         this.Close();
     }
     else
     {
         MessageBox.Show("The treadmill is still moving. Please stop the treadmill first", "StroMoHab Client", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }