Exemple #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            if (lbOfflineData.SelectedItem == null)
            {
                return;
            }
            OfflineDataInfo data = lbOfflineData.SelectedItem as OfflineDataInfo;

            Request(
                delegate { mPenCommV1.ReqOfflineData(data); },
                delegate { mPenCommV2.ReqOfflineData(data.Section, data.Owner, data.Note, false, data.Pages); });
        }
Exemple #2
0
        /// <summary>
        /// Request offline data of pen.
        /// When you request offline data, your request is inserted to queue.
        /// </summary>
        /// <param name="notes">array of OfflineNote object</param>
        public void ReqOfflineData(OfflineDataInfo note)
        {
            System.Console.WriteLine("ReqOfflineData ( result : {0} )", note.ToString());

            if (note == null)
            {
                return;
            }

            if (IsV1Comm)
            {
                mCommV1.ReqOfflineData(note);
            }
            else
            {
                mCommV2.ReqOfflineData(note.Section, note.Owner, note.Note, false, note.Pages);
            }
        }