Пример #1
0
 public void OTCXRelR()
 {
     if (isPowerOn && (otcBtn.XRelBtn == true))
     {
         otcBtn.XRelBtn = false;
         otcxyz.XRelBtnRelease();
     }
 }
Пример #2
0
 private void checkBox1_CheckedChanged(object sender, EventArgs e)
 {
     if (checkBox1.Checked == true)
     {
         otcxyz.XRelBtnPress();
     }
     else
     {
         otcxyz.XRelBtnRelease();
     }
 }