Beispiel #1
0
 private void frmUI_FormClosing(object sender, FormClosingEventArgs e)
 {
     //personDataList.Add(person.SerialData);//this saves the last person into the list ie. others are saved on entry of new person
     SavePersonData(); //save/serialize personDataList
     sound.EndCurrentEnvironment();
     SendMCECommand.StopTreadmill();
     Application.Exit();
 }
Beispiel #2
0
 private void frmUI_FormClosing(object sender, FormClosingEventArgs e)
 {
     SendMCECommand.StopTreadmill();
     if (plotFeet != null)
     {
         plotFeet.Dispose();
     }
     Application.Exit();
 }
Beispiel #3
0
 private void btnReset_Click(object sender, EventArgs e)
 {
     SendMCECommand.StopTreadmill();
     nudSpeed.Value     = 0;
     nudElevation.Value = 0;
 }
Beispiel #4
0
 private void frmUI_FormClosing(object sender, FormClosingEventArgs e)
 {
     SendMCECommand.StopTreadmill();
     Application.Exit();
 }