コード例 #1
0
        private void GetCustCigInfo()
        {
            int indexno = PrintBarCodes.GetPrintIndex();

            if (indexno > 0)
            {
                GetPrintCust(indexno);
                GetPrePrintCust(indexno - 1);
                GetNextPrintCust(indexno + 1);
            }
        }
コード例 #2
0
ファイル: COutPort.cs プロジェクト: wg3281/JZFJ
 private void GetFirstCode()
 {
     try
     {
         indexno = PrintBarCodes.GetPrintIndex();
         if (indexno > 0)
         {
             pindexno = indexno - 1;
             nindexno = indexno + 1;
         }
         else
         {
             pindexno = 0;
             nindexno = 0;
         }
     }
     catch (Exception ex)
     {
         //string a = ex.Message;
     }
 }