Exemple #1
0
        /****************   OTC Buttons method **************/

        public void OTCXRelP()
        {
            if (isPowerOn && (otcBtn.XRelBtn == false))
            {
                otcBtn.XRelBtn = true;
                otcxyz.XRelBtnPress();
            }
        }
Exemple #2
0
 private void checkBox1_CheckedChanged(object sender, EventArgs e)
 {
     if (checkBox1.Checked == true)
     {
         otcxyz.XRelBtnPress();
     }
     else
     {
         otcxyz.XRelBtnRelease();
     }
 }