示例#1
0
 private void checkBox1_CheckedChanged(object sender, EventArgs e)
 {
     lock (checkBoxLock)
     {
         client.setEnabled(1, checkBox1.Checked);
     }
 }
示例#2
0
 private void checkBox1_Click(object sender, RibbonControlEventArgs e)
 {
     client.setEnabled(1, checkBox1.Checked);
 }
示例#3
0
 public void SetTimerState(int timerNumber, bool enabled)
 {
     client.setEnabled((byte)timerNumber, enabled);
 }