예제 #1
0
 private void cbBeep_CheckedChanged(object sender, EventArgs e)
 {
     Request(
         delegate { mPenCommV1.ReqSetupPenBeep(cbBeep.Checked); },
         delegate { mPenCommV2.ReqSetupPenBeep(cbBeep.Checked); }
         );
 }
예제 #2
0
 /// <summary>
 /// Sets the status of the beep property.
 /// </summary>
 /// <param name="seton">true if you want to listen sound of pen, otherwise false.</param>
 public void ReqSetupPenBeep(bool seton)
 {
     if (IsV1Comm)
     {
         mCommV1.ReqSetupPenBeep(seton);
     }
     else
     {
         mCommV2.ReqSetupPenBeep(seton);
     }
 }