// Admins can run reports void showReportPrompt(bool show) { if (CiscoSnCycEngine.IsAdminUser(_opcode)) { txtReport.Visible = show; lblReport.Visible = show; } }
void tick() { int cnt = _engine.GetScannedCount(_item.CustCode, _location.LocCode, _item.ItemCode); if (cnt == _qty) // all items scanned check { // allow admin to rescan a location if (CiscoSnCycEngine.IsAdminUser(_opcode)) { showRescanPrompt(); } else { finish(); return; } } lblItemQty.Visible = true; lblItemQty.Text = string.Format("{0} of {1}", cnt, _qty); }