private void btnZRead_Click(object sender, EventArgs e) { if (report.Date == DateTime.Now.Date && !globalvariables.LockedPOS) { if (FncFilter.ConfirmYesNo(globalvariables.confirm_lock_pos)) { GenerateReport.ZRead(report.Date); } } else { report.Type = 3; HardwareHelper.PrintReport(null, null, null, report); } this.Close(); }
private void btnXRead_Click(object sender, EventArgs e) { HardwareHelper.PrintReport(null, null, null, report); this.Close(); }