コード例 #1
0
 private void runBTN_Click(object sender, EventArgs e)
 {
     if (backlogic.isHighSpeedSupporting() == false)
     {
         DialogResult dr;
         dr = MessageBox.Show(this, "Now you are using UART which is too slow to run brain. Are you sure to conntinue?", "Brain start", MessageBoxButtons.OKCancel);
         if (dr == DialogResult.Cancel)
         {
             return;
         }
     }
     backlogic.runCalculation(); brainRunStateUpdate();
 }