private void btnPrint_Click(object sender, RoutedEventArgs e) { if (lvPromoCashable.Items.Count > 1) { objCashDeskManager.PrintFunction(lvPromoCashable, StartDate, EndDate, true, true, false, true, true, true, true, true, false, "PROMO"); } }
private void btnPrint_Click(object sender, RoutedEventArgs e) { try { btnPrint.IsEnabled = false; if (lvVoidExpired.Items.Count > 0) { objCashDeskManager.PrintFunction(lvVoidExpired, StartDate, EndDate, true, true, true, true, true, false, true, true, true, "CVOIDEXPIRE"); } } finally { btnPrint.IsEnabled = true; } }
private void btnPrint_Click(object sender, RoutedEventArgs e) { try { btnPrint.IsEnabled = false; if (lvTicketAnomalies.Items.Count > 0) { objCashDeskManager.PrintFunction(lvTicketAnomalies, StartDate, EndDate); } } finally { btnPrint.IsEnabled = true; } }
private void btnPrint_Click(object sender, RoutedEventArgs e) { try { btnPrint.IsEnabled = false; if (lvActiveTickets.Items.Count > 1) { //objCashDeskManager.PrintFunction(lvActiveTickets, StartDate, EndDate); objCashDeskManager.PrintFunction(lvActiveTickets, StartDate, EndDate, true, true, true, true, true, false, true, true, false, "ACTIVE"); } } finally { btnPrint.IsEnabled = true; } }