private void checkBoxOut15_CheckedChanged(object sender, EventArgs e) { if (checkBoxOut15.Checked) { SendMessage(CtrlMsg.GetInstance().Out15On); WriteToIOSendText(CtrlMsg.GetInstance().Out15On); } else { SendMessage(CtrlMsg.GetInstance().Out15Off); WriteToIOSendText(CtrlMsg.GetInstance().Out15Off); } }
private void buttonStay_Click(object sender, EventArgs e) { SendMessage(CtrlMsg.GetInstance().Stay); WriteToIOSendText(CtrlMsg.GetInstance().Stay); }