private void PrintKokyakuDaichoCore() { var pq = GetPrintQueue(); var printer = new PrintListReport <Customer, KokyakuDaicho>(17, pq); printer.Print(this.CustomerViewModels .Where(customerVM => customerVM.Customer.Label == true) .OrderBy(customerVM => customerVM.Customer.CustNo) .Select(customerVM => customerVM.Customer), x => new CustomerSource(x.Cast <Customer>())); }
private void PrintAtenaSealCore() { var pq = GetPrintQueue(); var printer = new PrintListReport <Customer, AtenaSeal>(12, pq); //ラベル印刷するチェックが入ってる人 printer.Print(this.CustomerViewModels .Where(customerVM => customerVM.Customer.Label == true) .OrderBy(customerVM => customerVM.Customer.Furigana) .Select(customerVM => customerVM.Customer), x => new CustomerSource(x.Cast <Customer>())); }
private void PrintOrderYamatoMany() { var printer = new PrintListReport <OrderSource, ReportYamatoMany>(10, null); var orderSources = getOrderSources(); //テキストボックス入力値-1個、頭に空行を足す。 if (this.StartFromAtYamatoMany > 1) { for (var i = 0; i < this.StartFromAtYamatoMany - 1; i++) { orderSources.Insert(0, new OrderSource()); } } printer.Print(orderSources, x => new OrderSourceCollection(x)); UpdateOrderHistory(); }
private void PrintKokyakuDaichoCore() { var pq = GetPrintQueue(); var printer = new PrintListReport<Customer, KokyakuDaicho>(17, pq); printer.Print(this.CustomerViewModels .Where(customerVM => customerVM.Customer.Label == true) .OrderBy(customerVM => customerVM.Customer.CustNo) .Select(customerVM => customerVM.Customer), x => new CustomerSource(x.Cast<Customer>())); }
private void PrintAtenaSealCore() { var pq = GetPrintQueue(); var printer = new PrintListReport<Customer, AtenaSeal>(12, pq); //ラベル印刷するチェックが入ってる人 printer.Print(this.CustomerViewModels .Where(customerVM => customerVM.Customer.Label == true) .OrderBy(customerVM => customerVM.Customer.Furigana) .Select(customerVM => customerVM.Customer), x => new CustomerSource(x.Cast<Customer>())); }