public void OTCZRelP() { if (isPowerOn && (otcBtn.ZRelBtn == false)) { otcBtn.ZRelBtn = true; otcxyz.ZRelBtnPress(); } }
private void checkBox3_CheckedChanged(object sender, EventArgs e) { if (checkBox3.Checked == true) { otcxyz.ZRelBtnPress(); } else { otcxyz.ZRelBtnRelease(); } }