コード例 #1
0
        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>()));
        }
コード例 #2
0
        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>()));
        }
コード例 #3
0
        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();
        }
コード例 #4
0
        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>()));
        }
コード例 #5
0
        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>()));
        }