private void GetCustCigInfo() { int indexno = PrintBarCodes.GetPrintIndex(); if (indexno > 0) { GetPrintCust(indexno); GetPrePrintCust(indexno - 1); GetNextPrintCust(indexno + 1); } }
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; } }