Ejemplo n.º 1
0
 private void button_recStop_Click(object sender, EventArgs e)
 {
     if (BVHFile != null)
     {
         BVHFile.closeBVHFile();
         this.textBox_sensorStatus.Text      = "Aufnahme gespeichert";
         this.textBox_sensorStatus.BackColor = Color.White;
         BVHFile = null;
     }
 }
Ejemplo n.º 2
0
 private void button_rec_Click(object sender, EventArgs e)
 {
     if (BVHFile == null && sensor != null)
     {
         this.textBox_sensorStatus.Text      = "Initialisiere";
         this.textBox_sensorStatus.BackColor = Color.Yellow;
         DateTime thisDay     = DateTime.UtcNow;
         string   txtFileName = thisDay.ToString("dd.MM.yyyy_HH.mm");
         BVHFile = new writeBVH(txtFileName);
         BVHFile.setTextFeld(textFelder1);
     }
 }