Exemple #1
0
 /// <summary>
 /// Notify pen of using note.
 /// </summary>
 /// <param name="sectionId">section id of note</param>
 /// <param name="ownerId">owner id of note</param>
 /// <param name="noteId">note id</param>
 public void AddUsingNote(int sectionId, int ownerId, int noteId)
 {
     if (IsV1Comm)
     {
         mCommV1.ReqAddUsingNote(sectionId, ownerId, noteId);
     }
     else
     {
         mCommV2.ReqAddUsingNote(sectionId, ownerId, new int[] { noteId });
     }
 }
Exemple #2
0
        void PenCommV2Callbacks.onPenAuthenticated(IPenComm sender)
        {
            mPenCommV2.ReqAddUsingNote();
            mPenCommV2.ReqOfflineDataList();
            mPenCommV2.ReqPenStatus();

            this.BeginInvoke(new MethodInvoker(delegate()
            {
                groupBox8.Enabled = false;
            }));
        }
 void PenCommV2Callbacks.onPenAuthenticated(IPenComm sender)
 {
     mPenCommV2.ReqAddUsingNote();
     mPenCommV2.ReqOfflineDataList();
     mPenCommV2.ReqPenStatus();
 }