Exemplo n.º 1
0
 private void buttonHome_Click(object sender, EventArgs e)
 {
     if (m_homing == false)
     {
         m_tic.go_home(tic.GO_HOME.REVERSE);
         buttonHome.Text = "STOP";
         m_homing        = true;
     }
     else
     {
         m_tic.halt_and_hold();
         buttonHome.Text = "HOME";
         m_homing        = false;
     }
     buttonGoto.Enabled       = !m_homing;
     checkBoxJogLeft.Enabled  = !m_homing;
     checkBoxJogRigth.Enabled = !m_homing;
 }