Example #1
0
 public void OTCYRelR()
 {
     if (isPowerOn && (otcBtn.YRelBtn == true))
     {
         otcBtn.YRelBtn = false;
         otcxyz.YRelBtnRelease();
     }
 }
Example #2
0
 private void checkBox2_CheckedChanged(object sender, EventArgs e)
 {
     if (checkBox2.Checked == true)
     {
         otcxyz.YRelBtnPress();
     }
     else
     {
         otcxyz.YRelBtnRelease();
     }
 }