Beispiel #1
0
        private void initPrintData()
        {
            m              = new PrintDataModel <object>();
            m.TableData    = new List <object>();
            m.pageTitle    = "采购订单";
            m.ColumnNames  = list_tableTitle;
            m.CanResetLine = new List <bool> {
                true, true, true, true, true, true, true
            };
            List <PrintDataModel <object> > list = new List <PrintDataModel <object> > {
                m
            };

            cp = new CommonPrintTools <object>(list);
        }
Beispiel #2
0
        private void initPrintData()
        {
            m           = new PrintDataModel <object>();
            m.TableData = new List <object>();
            m.pageTitle = "移入单";
            m.TitleData = new List <string> {
                "日期:" + this.label9.Text,
                "编号:" + this.label10.Text,
                "仓库:" + this.label13.Text,
                "仓位:" + this.label15.Text,
                "制单人:" + this.label12.Text
            };

            m.ColumnNames  = list_tableTitle;
            m.CanResetLine = new List <bool> {
                true, true, true, true, true, true, true, true
            };
            List <PrintDataModel <object> > list = new List <PrintDataModel <object> > {
                m
            };

            cp = new CommonPrintTools <object>(list);
        }