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