Ejemplo n.º 1
0
        //TODO: Method to add column header
        void AddColumnHeader(string[] customColumn, rptOBRPayroll rpt)
        {
            var xrCell = new DevExpress.XtraReports.UI.XRTableCell();

            foreach (var i in customColumn)
            {
                xrCell = new DevExpress.XtraReports.UI.XRTableCell()
                {
                    Text = i, Name = i
                };
                xrCell.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[]
                {
                    new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", $"[{i}]")
                });

                rpt.tblRowPayrollDetailHeader.Cells.Add(xrCell);
            }

            //
            rpt.tblRowPayrollDetailHeader.Cells.AddRange(new[]
            {
                new DevExpress.XtraReports.UI.XRTableCell()
                {
                    Text = "TOTAL",
                },
                new DevExpress.XtraReports.UI.XRTableCell()
                {
                    Text = "Signature",
                },
            });
        }
Ejemplo n.º 2
0
        void AddPageTotalColumn(string[] customColumn, XRTableCell xrCell, rptOBRPayroll rpt)
        {
            foreach (var i in customColumn)
            {
                xrCell = new DevExpress.XtraReports.UI.XRTableCell()
                {
                    //  Text = payrollDetails.AsEnumerable().Sum(x => x.Field<decimal>(i)).ToString("Php #,##.#0"),
                    Name   = "colPageTotal" + i,
                    WidthF = 150
                };
                CalculatePageTotalValue(xrCell, i);
                rpt.tblPageTotalRow.Cells.Add(xrCell);
            }


            var pageTotalCell = new DevExpress.XtraReports.UI.XRTableCell()
            {
                //  Text = ds.Tables["PayrollDetails"].AsEnumerable().Sum(x => x.Field<decimal>("Total")).ToString("Php #,##.#0"),
                Name = "pageTotal",
            };



            CalculatePageTotalValue(pageTotalCell, "Total");
            rpt.tblPageTotalRow.Cells.Add(pageTotalCell);
            rpt.tblPageTotalRow.Cells.Add(new XRTableCell());
            rpt.colPageTotal.WidthF = rpt.tblRowPayrollDetails.Cells[0].WidthF +
                                      rpt.tblRowPayrollDetails.Cells[1].WidthF +
                                      rpt.tblRowPayrollDetails.Cells[2].WidthF;
        }
Ejemplo n.º 3
0
        /// <summary>
        /// 初始化数据
        /// </summary>
        /// <param name="list"></param>
        /// <param name="i"></param>
        /// <param name="j"></param>
        private void init(List <Customs.Entity.Store_in_listInfo> list, int i, int j)
        {
            #region 给table赋值
            DevExpress.XtraReports.UI.XRTableCell seq = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cseq" + i, false);
            seq.Text = list[j].G_no.ToString();
            DevExpress.XtraReports.UI.XRTableCell cCode = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cCode" + i, false);
            cCode.Text = list[j].Code_t;
            //货物名称和规格
            DevExpress.XtraReports.UI.XRTableCell cName = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cName" + i, false);
            cName.Text = list[j].Mg_name + "\n" + list[j].Mg_spec + "\n" + list[j].Pkgs + "件";
            //数量
            string temp = PublicMethod.RemoveZero(list[j].Qty_2.ToString()) == "0" ? "" : PublicMethod.RemoveZero(list[j].Qty_2.ToString());
            DevExpress.XtraReports.UI.XRTableCell cNum = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cNum" + i, false);
            //cNum.Text = PublicMethod.RemoveZero(list[j].G_qty.ToString())+"\n"+PublicMethod.RemoveZero(list[j].Qty_1.ToString())+"\n"+temp;
            cNum.Text = PublicMethod.RemoveZero(list[j].Qty_1.ToString()) + "\n" + temp + "\n" + PublicMethod.RemoveZero(list[j].G_qty.ToString());
            //单位
            DevExpress.XtraReports.UI.XRTableCell cUnit = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cUnit" + i, false);
            //cUnit.Text =PublicMethod.GetHashValue(ht,list[j].G_unit).ToString() + "\n" + PublicMethod.GetHashValue(ht,list[j].Unit_code1).ToString() + "\n"+PublicMethod.GetHashValue(ht,list[j].Unit_code2).ToString();//list[j].G_unit;
            cUnit.Text = CommonReport.GetHashValue(ht, list[j].Unit_code1).ToString() + "\n" + CommonReport.GetHashValue(ht, list[j].Unit_code2).ToString() + "\n" + CommonReport.GetHashValue(ht, list[j].G_unit).ToString();//list[j].G_unit;

            DevExpress.XtraReports.UI.XRTableCell cWeight = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cWeight" + i, false);
            cWeight.Text = list[j].Gross + "\n" + list[j].Net;
            //币值
            DevExpress.XtraReports.UI.XRTableCell cCoin = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cCoin" + i, false);
            cCoin.Text = CommonReport.GetCode("118", list[j].Curr_code.ToString(), true);

            DevExpress.XtraReports.UI.XRTableCell cPrice = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cPrice" + i, false);
            cPrice.Text = list[j].Unit_price.ToString();

            DevExpress.XtraReports.UI.XRTableCell cTotal = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cTotal" + i, false);
            cTotal.Text = list[j].Trade_ttl.ToString();
            #endregion
        }
Ejemplo n.º 4
0
        /// <summary>
        /// 返回文本居右的
        /// </summary>
        /// <returns></returns>
        private string SetLeftPkgs(DevExpress.XtraReports.UI.XRTableCell Cell, string Pkgs)
        {
            string Result = string.Empty;
            //一个空站位符号
            string temp  = "";
            float  cWith = Cell.WidthF;
            float  cSize = Cell.Font.Size;
            int    Num   = (int)cWith / (int)cSize;

            for (int i = 0; i < Num; i++)
            {
                temp += "\t";
            }
            Result = temp.Substring(0, Num - Pkgs.Length) + Pkgs;
            return(Result);
        }
Ejemplo n.º 5
0
 void AddGrandTotalColumn(string[] customColumn, XRTableCell xrCell, rptOBRPayroll rpt)
 {
     foreach (var i in customColumn)
     {
         xrCell = new DevExpress.XtraReports.UI.XRTableCell()
         {
             Name   = "colGrandTotal" + i,
             WidthF = 150
         };
         xrCell.PrintOnPage += (s, e) =>
         {
             var cell = s as XRTableCell;
             cell.Visible = (e.PageCount - 1) == e.PageIndex;
             cell.Text    = oBRPayrollViewModels.Where(x => x.ColumnName == i).Sum(m => m.Value)
                            ?.ToString("n2");
         };
         rpt.tblGrandTotalRow.Cells.Add(xrCell);
         //Total
     }
     xrCell = new DevExpress.XtraReports.UI.XRTableCell()
     {
         //
         Name = "colGrandTotal",
     };
     xrCell.PrintOnPage += (s, e) =>
     {
         var cell = s as XRTableCell;
         cell.Visible = (e.PageCount - 1) == e.PageIndex;
         cell.Text    = oBRPayrollViewModels.Where(x => x.ColumnName == "Total").Sum(m => m.Value)?.ToString("n2");
     };
     rpt.tblGrandTotalRow.Cells.Add(xrCell);
     xrCell = new XRTableCell()
     {
         Name = "colSigGrandTotal",
     };
     xrCell.PrintOnPage += (s, e) =>
     {
         var cell = s as XRTableCell;
         cell.Visible = (e.PageCount - 1) == e.PageIndex;
     };
     rpt.tblGrandTotalRow.Cells.Add(xrCell);
     rpt.colGrandTotalLabel.WidthF = rpt.colPageTotal.WidthF;
 }
Ejemplo n.º 6
0
        /// <summary>
        /// 初始化明细
        /// </summary>
        private void init(List <Customs.Entity.Store_out_listInfo> List, int i, int j)
        {
            //初始化每列的数据
            DevExpress.XtraReports.UI.XRTableCell COldBill_id = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("COldBill_id" + i, false);
            COldBill_id.Text = List[j].Cust_in_bill_id;

            DevExpress.XtraReports.UI.XRTableCell cInseq = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cInseq" + i, false);
            cInseq.Text = List[j].In_g_no.ToString();

            DevExpress.XtraReports.UI.XRTableCell cOutseq = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cOutseq" + i, false);
            cOutseq.Text = List[j].G_no.ToString();

            DevExpress.XtraReports.UI.XRTableCell cPlace = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cPlace" + i, false);
            cPlace.Text = List[j].Loc;

            DevExpress.XtraReports.UI.XRTableCell cCode = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cCode" + i, false);
            cCode.Text = List[j].Code_t;

            DevExpress.XtraReports.UI.XRTableCell cName = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cName" + i, false);
            cName.Text = List[j].Mg_name + "\n" + List[i - 1].Mg_spec + "\n" + List[i - 1].Pkgs + "件";

            DevExpress.XtraReports.UI.XRTableCell cNum = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cNum" + i, false);
            string temp = PublicMethod.RemoveZero(List[j].Qty_2.ToString()) == "0" ? "" : PublicMethod.RemoveZero(List[j].Qty_2.ToString());

            //cNum.Text = PublicMethod.RemoveZero(List[j].G_qty.ToString()) + "\n" + PublicMethod.RemoveZero(List[j].Qty_1.ToString()) + "\n" + temp;
            cNum.Text = PublicMethod.RemoveZero(List[j].Qty_1.ToString()) + "\n" + temp + "\n" + PublicMethod.RemoveZero(List[j].G_qty.ToString());

            DevExpress.XtraReports.UI.XRTableCell cUnit = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cUnit" + i, false);
            //cUnit.Text =PublicMethod.GetHashValue(ht, List[j].G_unit.ToString()) +"\n"+ PublicMethod.GetHashValue(ht,List[j].Unit_code1).ToString() + "\n" + PublicMethod.GetHashValue(ht,List[j].Unit_code2).ToString();
            cUnit.Text = CommonReport.GetHashValue(ht, List[j].Unit_code1).ToString() + "\n" + CommonReport.GetHashValue(ht, List[j].Unit_code2).ToString() + "\n" + CommonReport.GetHashValue(ht, List[j].G_unit).ToString();

            DevExpress.XtraReports.UI.XRTableCell cWeight = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cWeight" + i, false);
            cWeight.Text = List[j].Gross + "\n" + List[i - 1].Net;

            DevExpress.XtraReports.UI.XRTableCell cCoin = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cCoin" + i, false);
            cCoin.Text = CommonReport.GetCode("118", List[j].Curr_code, true);;

            DevExpress.XtraReports.UI.XRTableCell cPrice = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cPrice" + i, false);
            cPrice.Text = List[j].Unit_price.ToString();

            DevExpress.XtraReports.UI.XRTableCell cTotal = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cTotal" + i, false);
            cTotal.Text = List[j].Trade_ttl.ToString();
        }
Ejemplo n.º 7
0
        void AddColumnHeaderDetails(string[] customColumn, rptOBRPayroll rpt)
        {
            var xrCell = new DevExpress.XtraReports.UI.XRTableCell();

            foreach (var i in customColumn)
            {
                xrCell = new DevExpress.XtraReports.UI.XRTableCell()
                {
                    Text             = i,
                    Name             = i,
                    TextFormatString = "{0:#,##.0#}",
                    WidthF           = 150
                };
                xrCell.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[]
                {
                    new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", $"[{i}]")
                });
                AddPageTotalValue(xrCell, i);
                rpt.tblRowPayrollDetails.Cells.Add(xrCell);
            }

            var totalCell = new DevExpress.XtraReports.UI.XRTableCell()
            {
                Text             = "TOTAL",
                Name             = "colTotal",
                TextFormatString = "{0:#,##.0#}"
            };

            totalCell.ExpressionBindings.AddRange(new ExpressionBindingCollection()
            {
                new ExpressionBinding("BeforePrint", "Text", $"[Total]")
            });
            rpt.tblRowPayrollDetails.Cells.Add(totalCell);
            AddPageTotalValue(totalCell, "Total");
            rpt.tblRowPayrollDetails.Cells.Add(new XRTableCell()
            {
                Name = "colSig"
            });
        }
Ejemplo n.º 8
0
        private DevExpress.XtraReports.UI.XRTableCell GetCellStampEx(int left, int top, string tenDV)
        {
            DevExpress.XtraReports.UI.XRTableCell cell = new DevExpress.XtraReports.UI.XRTableCell();
            cell.Location = new Point(left, top);
            cell.Size = new Size(this.widthStamp, this.heightStamp);
            cell.BorderColor = Color.Black;
            cell.Borders = DevExpress.XtraPrinting.BorderSide.All;
            cell.BorderWidth = this.borderStamp;

            int h = GetHeightPos();
            int startleft = (this.widthStamp - this.widthBarcode) / 2;
            int starttop = (this.heightStamp - h) / 2;

            for (int i = 0; i < 4; i++)
            {
                if (this.pos[i] == StyleLabelBarcode.Unit)
                {
                    DevExpress.XtraReports.UI.XRLabel lbUnit = new DevExpress.XtraReports.UI.XRLabel();
                    lbUnit.Text = tenDV;
                    lbUnit.TextAlignment = this.alight[i];
                    lbUnit.Font = fontUnit;
                    lbUnit.Location = new Point(startleft, starttop);
                    lbUnit.Size = new Size(this.widthBarcode, this.heightUnit);
                    lbUnit.BorderWidth = 0;
                    starttop += heightUnit - delta;
                    cell.Controls.Add(lbUnit);
                }
                else if (this.pos[i] == StyleLabelBarcode.Name)
                {
                    DevExpress.XtraReports.UI.XRLabel lbName = new DevExpress.XtraReports.UI.XRLabel();
                    lbName.Text = "Tên sản phẩm";
                    lbName.TextAlignment = this.alight[i];
                    lbName.Font = fontName;
                    lbName.BorderWidth = 0;
                    lbName.Location = new Point(startleft, starttop);
                    lbName.Size = new Size(this.widthBarcode, this.heightName);
                    starttop += heightName - delta;
                    cell.Controls.Add(lbName);
                }
                else if (this.pos[i] == StyleLabelBarcode.Barcode)
                {
                    DevExpress.XtraReports.UI.XRBarCode bcode = new DevExpress.XtraReports.UI.XRBarCode();

                    bcode.Alignment = this.alight[i];
                    bcode.BorderWidth = 0;
                    bcode.Location = new System.Drawing.Point(startleft, starttop);
                    bcode.Module = this.moduleBarcode;
                    bcode.Size = new System.Drawing.Size(this.widthBarcode, this.heightBarcode);
                    bcode.Symbology = GetBCSymbology(this.symBC);

                    if (this.symBC == BarCodeType.EAN13)
                        bcode.Text = this.mauEAN13;
                    else
                        bcode.Text = this.mauKhac;

                    bcode.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
                    starttop += this.heightBarcode - delta;
                    cell.Controls.Add(bcode);
                }
                else if (this.pos[i] == StyleLabelBarcode.Price)
                {
                    DevExpress.XtraReports.UI.XRLabel lbPrice = new DevExpress.XtraReports.UI.XRLabel();
                    lbPrice.Text = "Giá sản phẩm";
                    lbPrice.TextAlignment = this.alight[i];
                    lbPrice.Font = fontPrice;
                    lbPrice.BorderWidth = 0;
                    lbPrice.Location = new Point(startleft, starttop);
                    lbPrice.Size = new Size(this.widthBarcode, this.heightPrice);
                    starttop += heightPrice - delta;
                    cell.Controls.Add(lbPrice);
                }
            }

            return cell;
        }
Ejemplo n.º 9
0
        //初始化出口监管仓货物入仓清单
        public Report_ExSup(Customs.Entity.Store_in_headInfo CurInHead, List <Customs.Entity.Store_in_listInfo> list)
        {
            //先初始化界面
            InitializeComponent();
            //初始化报表
            try
            {
                //初始化表头部分
                //仓库编号
                labWareNO.Text     = CurInHead.Cust_bill_id;
                labCustomCode.Text = CurInHead.Bill_id;
                lbCnsNo.Text       = CurInHead.Cns_no;
                tbWareName.Text    = "深国际华南物流监管仓";
                tbreferdoc.Text    = CurInHead.Refer_doc;
                //发货单位
                tbdeliverUnit.Text = CommonReport.GetCompanyName(CurInHead.Rs_code);
                tbSumWeight.Text   = "毛重:" + CurInHead.Gross_wt.ToString() + "\n" + "净重:" + CurInHead.Net_wt.ToString();//CurInHead.Gross_wt.ToString();

                lbPkgs.Text       = "共 " + CurInHead.Pkgs_num + " 件";
                tbtotalValue.Text = CurInHead.All_value.ToString();
                tbPlace.Text      = CurInHead.Place;
                //国别
                tbOutCountry.Text = list != null?CommonReport.GetCode("102", list[0].Orign_coun, false) : "";   //WareCommon.GetCode("102", CurInHead.Trade_coun, false);

                tbtaxRebate.Text  = CurInHead.Tax_flag.Trim() == "1" ? "是" : "否";
                tbTradetype.Text  = httrade_way.Contains(CurInHead.Trade_mode) ? httrade_way[CurInHead.Trade_mode].ToString() : "";
                tbInWaretype.Text = htIn_type.Contains(CurInHead.In_type) ? htIn_type[CurInHead.In_type].ToString() : "";
                //目的海关
                labCustom.Text = CurInHead.Ie_portName;
                //报关员
                //labName.Text = "报关员";
                //货主
                //lab.Text = "龙卓公司";
                //仓库员
                //labAdmin.Text = "胡藩";

                BarCode.Text  = CurInHead.Bill_id;
                tbremark.Text = CurInHead.Remark;
                labDate.Text  = CurInHead.Ie_date.ToString("yyyy-MM-dd") != "1900-01-01" ? CurInHead.Ie_date.ToString("yyyy-MM-dd") : "";
                //txtPkgs.Text = "200件";
                if (list.Count <= 5)
                {
                    for (int i = 1; i <= list.Count; i++)
                    {
                        #region 给table赋值
                        DevExpress.XtraReports.UI.XRTableCell seq = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cseq" + i, false);
                        seq.Text = list[i - 1].G_no.ToString();
                        DevExpress.XtraReports.UI.XRTableCell cCode = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cCode" + i, false);
                        cCode.Text = list[i - 1].Code_t;
                        //货物名称和规格
                        DevExpress.XtraReports.UI.XRTableCell cName = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cName" + i, false);
                        cName.Text = list[i - 1].Mg_name + "\r\n" + list[i - 1].Mg_spec + "\n" + list[i - 1].Pkgs.ToString() + "件";
                        //数量
                        string temp = PublicMethod.RemoveZero(list[i - 1].Qty_2.ToString()) == "0" ? "" : PublicMethod.RemoveZero(list[i - 1].Qty_2.ToString());
                        DevExpress.XtraReports.UI.XRTableCell cNum = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cNum" + i, false);
                        //cNum.Text = PublicMethod.RemoveZero(list[i - 1].G_qty.ToString()) + "\n" + PublicMethod.RemoveZero(list[i - 1].Qty_1.ToString()) + "\n" + temp;
                        cNum.Text = PublicMethod.RemoveZero(list[i - 1].Qty_1.ToString()) + "\n" + temp + "\n" + PublicMethod.RemoveZero(list[i - 1].G_qty.ToString()); //list[i - 1].G_qty.ToString();
                        //单位
                        DevExpress.XtraReports.UI.XRTableCell cUnit = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cUnit" + i, false);
                        //cUnit.Text = PublicMethod.GetHashValue(ht,list[i - 1].G_unit).ToString() + "\n" + PublicMethod.GetHashValue(ht,list[i - 1].Unit_code1).ToString() + "\n" + PublicMethod.GetHashValue(ht,list[i - 1].Unit_code2).ToString();
                        cUnit.Text = CommonReport.GetHashValue(ht, list[i - 1].Unit_code1).ToString() + "\n" + CommonReport.GetHashValue(ht, list[i - 1].Unit_code2).ToString() + "\n" + CommonReport.GetHashValue(ht, list[i - 1].G_unit).ToString(); //ht.Contains(list[i - 1].G_unit) ? ht[list[i - 1].G_unit].ToString() : "";//list[i - 1].G_unit;

                        DevExpress.XtraReports.UI.XRTableCell cWeight = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cWeight" + i, false);
                        cWeight.Text = list[i - 1].Gross + "\r\n" + list[i - 1].Net;
                        //币值
                        DevExpress.XtraReports.UI.XRTableCell cCoin = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cCoin" + i, false);
                        cCoin.Text = CommonReport.GetCode("118", list[i - 1].Curr_code.ToString(), true);

                        DevExpress.XtraReports.UI.XRTableCell cPrice = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cPrice" + i, false);
                        cPrice.Text = list[i - 1].Unit_price.ToString();

                        DevExpress.XtraReports.UI.XRTableCell cTotal = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cTotal" + i, false);
                        cTotal.Text = list[i - 1].Trade_ttl.ToString();
                        #endregion
                    }
                }
                if (list.Count > 5)
                {
                    for (int i = 1; i <= 5; i++)
                    {
                        #region 给table赋值
                        DevExpress.XtraReports.UI.XRTableCell seq = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cseq" + i, false);
                        seq.Text = list[i - 1].G_no.ToString();
                        DevExpress.XtraReports.UI.XRTableCell cCode = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cCode" + i, false);
                        cCode.Text = list[i - 1].Code_t;
                        //货物名称和规格
                        DevExpress.XtraReports.UI.XRTableCell cName = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cName" + i, false);
                        cName.Text = list[i - 1].Mg_name + "\r\n" + list[i - 1].Mg_spec + "\r\n" + list[i - 1].Pkgs.ToString() + "件";
                        //数量
                        string temp = PublicMethod.RemoveZero(list[i - 1].Qty_2.ToString()) == "0"?"":PublicMethod.RemoveZero(list[i - 1].Qty_2.ToString());
                        DevExpress.XtraReports.UI.XRTableCell cNum = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cNum" + i, false);
                        //cNum.Text = PublicMethod.RemoveZero(list[i - 1].G_qty.ToString()) + "\n" + PublicMethod.RemoveZero(list[i - 1].Qty_1.ToString()) + "\n" + temp; //list[i - 1].G_qty.ToString();
                        cNum.Text = PublicMethod.RemoveZero(list[i - 1].Qty_1.ToString()) + "\n" + temp + "\n" + PublicMethod.RemoveZero(list[i - 1].G_qty.ToString()); //list[i - 1].G_qty.ToString();
                        //单位
                        DevExpress.XtraReports.UI.XRTableCell cUnit = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cUnit" + i, false);
                        //cUnit.Text = PublicMethod.GetHashValue(ht,list[i - 1].G_unit).ToString() + "\n" + PublicMethod.GetHashValue(ht,list[i - 1].Unit_code1).ToString() + "\n" + PublicMethod.GetHashValue(ht,list[i - 1].Unit_code2).ToString(); //ht.Contains(list[i - 1].G_unit) ? ht[list[i - 1].G_unit].ToString() : "";//list[i - 1].G_unit;
                        cUnit.Text = CommonReport.GetHashValue(ht, list[i - 1].Unit_code1).ToString() + "\n" + CommonReport.GetHashValue(ht, list[i - 1].Unit_code2).ToString() + "\n" + CommonReport.GetHashValue(ht, list[i - 1].G_unit).ToString(); //ht.Contains(list[i - 1].G_unit) ? ht[list[i - 1].G_unit].ToString() : "";//list[i - 1].G_unit;

                        DevExpress.XtraReports.UI.XRTableCell cWeight = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cWeight" + i, false);
                        cWeight.Text = list[i - 1].Gross + "\r\n" + list[i - 1].Net;
                        //币值
                        DevExpress.XtraReports.UI.XRTableCell cCoin = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cCoin" + i, false);
                        cCoin.Text = CommonReport.GetCode("118", list[i - 1].Curr_code.ToString(), true);

                        DevExpress.XtraReports.UI.XRTableCell cPrice = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cPrice" + i, false);
                        cPrice.Text = list[i - 1].Unit_price.ToString();

                        DevExpress.XtraReports.UI.XRTableCell cTotal = (DevExpress.XtraReports.UI.XRTableCell)Detail.FindControl("cTotal" + i, false);
                        cTotal.Text = list[i - 1].Trade_ttl.ToString();
                        #endregion
                    }
                }
            }
            catch (Exception ex)
            {
                LogManager.WriteErrorLog(ex.Message.ToString());
            }
        }
Ejemplo n.º 10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.Detail = new DevExpress.XtraReports.UI.DetailBand();
     this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand();
     this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
     this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCellDate = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCellStartTime = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCellEndTime = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCellOrganization = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCellContact = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCellAppointmentType = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCellRemarks = new DevExpress.XtraReports.UI.XRTableCell();
     this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand();
     this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
     this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabelName = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabelID = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // Detail
     //
     this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                                                                                 this.xrTable2});
     this.Detail.Height = 46;
     this.Detail.Name = "Detail";
     //
     // PageHeader
     //
     this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                                                                                     this.xrLabel3,
                                                                                     this.xrLabelID,
                                                                                     this.xrLabelName,
                                                                                     this.xrLabel2,
                                                                                     this.xrTable1,
                                                                                     this.xrLabel1});
     this.PageHeader.Height = 138;
     this.PageHeader.Name = "PageHeader";
     //
     // xrLabel1
     //
     this.xrLabel1.Font = new System.Drawing.Font("Times New Roman", 16F, System.Drawing.FontStyle.Bold);
     this.xrLabel1.Location = new System.Drawing.Point(275, 8);
     this.xrLabel1.Name = "xrLabel1";
     this.xrLabel1.ParentStyleUsing.UseFont = false;
     this.xrLabel1.Size = new System.Drawing.Size(375, 25);
     this.xrLabel1.Text = "Appointment Listing";
     this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // xrTable1
     //
     this.xrTable1.Location = new System.Drawing.Point(17, 108);
     this.xrTable1.Name = "xrTable1";
     this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
                                                                                this.xrTableRow1});
     this.xrTable1.Size = new System.Drawing.Size(866, 25);
     //
     // xrTableRow1
     //
     this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                                                                                     this.xrTableCell7,
                                                                                     this.xrTableCell1,
                                                                                     this.xrTableCell6,
                                                                                     this.xrTableCell2,
                                                                                     this.xrTableCell3,
                                                                                     this.xrTableCell5,
                                                                                     this.xrTableCell4});
     this.xrTableRow1.Name = "xrTableRow1";
     this.xrTableRow1.Size = new System.Drawing.Size(866, 25);
     //
     // xrTableCell1
     //
     this.xrTableCell1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCell1.Location = new System.Drawing.Point(133, 0);
     this.xrTableCell1.Name = "xrTableCell1";
     this.xrTableCell1.ParentStyleUsing.UseFont = false;
     this.xrTableCell1.Size = new System.Drawing.Size(86, 25);
     this.xrTableCell1.Text = "Start Time";
     //
     // xrTableCell2
     //
     this.xrTableCell2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCell2.Location = new System.Drawing.Point(310, 0);
     this.xrTableCell2.Name = "xrTableCell2";
     this.xrTableCell2.ParentStyleUsing.UseFont = false;
     this.xrTableCell2.Size = new System.Drawing.Size(225, 25);
     this.xrTableCell2.Text = "Organization / Place of Appointment";
     //
     // xrTableCell4
     //
     this.xrTableCell4.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCell4.Location = new System.Drawing.Point(786, 0);
     this.xrTableCell4.Name = "xrTableCell4";
     this.xrTableCell4.ParentStyleUsing.UseFont = false;
     this.xrTableCell4.Size = new System.Drawing.Size(80, 25);
     this.xrTableCell4.Text = "Remarks";
     //
     // xrTableCell3
     //
     this.xrTableCell3.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCell3.Location = new System.Drawing.Point(535, 0);
     this.xrTableCell3.Name = "xrTableCell3";
     this.xrTableCell3.ParentStyleUsing.UseFont = false;
     this.xrTableCell3.Size = new System.Drawing.Size(135, 25);
     this.xrTableCell3.Text = "Contact";
     //
     // xrTableCell5
     //
     this.xrTableCell5.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCell5.Location = new System.Drawing.Point(670, 0);
     this.xrTableCell5.Name = "xrTableCell5";
     this.xrTableCell5.ParentStyleUsing.UseFont = false;
     this.xrTableCell5.Size = new System.Drawing.Size(116, 25);
     this.xrTableCell5.Text = "Appointment Type";
     //
     // xrTableCell6
     //
     this.xrTableCell6.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCell6.Location = new System.Drawing.Point(219, 0);
     this.xrTableCell6.Name = "xrTableCell6";
     this.xrTableCell6.ParentStyleUsing.UseFont = false;
     this.xrTableCell6.Size = new System.Drawing.Size(91, 25);
     this.xrTableCell6.Text = "End Time";
     //
     // xrTableCell7
     //
     this.xrTableCell7.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCell7.Location = new System.Drawing.Point(0, 0);
     this.xrTableCell7.Name = "xrTableCell7";
     this.xrTableCell7.ParentStyleUsing.UseFont = false;
     this.xrTableCell7.Size = new System.Drawing.Size(133, 25);
     this.xrTableCell7.Text = "Date";
     //
     // xrTable2
     //
     this.xrTable2.Location = new System.Drawing.Point(17, 8);
     this.xrTable2.Name = "xrTable2";
     this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
                                                                                this.xrTableRow2});
     this.xrTable2.Size = new System.Drawing.Size(866, 25);
     //
     // xrTableRow2
     //
     this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                                                                                     this.xrTableCellDate,
                                                                                     this.xrTableCellStartTime,
                                                                                     this.xrTableCellEndTime,
                                                                                     this.xrTableCellOrganization,
                                                                                     this.xrTableCellContact,
                                                                                     this.xrTableCellAppointmentType,
                                                                                     this.xrTableCellRemarks});
     this.xrTableRow2.Name = "xrTableRow2";
     this.xrTableRow2.Size = new System.Drawing.Size(866, 25);
     //
     // xrTableCellDate
     //
     this.xrTableCellDate.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCellDate.Location = new System.Drawing.Point(0, 0);
     this.xrTableCellDate.Name = "xrTableCellDate";
     this.xrTableCellDate.ParentStyleUsing.UseFont = false;
     this.xrTableCellDate.Size = new System.Drawing.Size(133, 25);
     this.xrTableCellDate.Text = "Date";
     //
     // xrTableCellStartTime
     //
     this.xrTableCellStartTime.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCellStartTime.Location = new System.Drawing.Point(133, 0);
     this.xrTableCellStartTime.Name = "xrTableCellStartTime";
     this.xrTableCellStartTime.ParentStyleUsing.UseFont = false;
     this.xrTableCellStartTime.Size = new System.Drawing.Size(86, 25);
     this.xrTableCellStartTime.Text = "Start Time";
     //
     // xrTableCellEndTime
     //
     this.xrTableCellEndTime.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCellEndTime.Location = new System.Drawing.Point(219, 0);
     this.xrTableCellEndTime.Name = "xrTableCellEndTime";
     this.xrTableCellEndTime.ParentStyleUsing.UseFont = false;
     this.xrTableCellEndTime.Size = new System.Drawing.Size(91, 25);
     this.xrTableCellEndTime.Text = "End Time";
     //
     // xrTableCellOrganization
     //
     this.xrTableCellOrganization.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCellOrganization.Location = new System.Drawing.Point(310, 0);
     this.xrTableCellOrganization.Name = "xrTableCellOrganization";
     this.xrTableCellOrganization.ParentStyleUsing.UseFont = false;
     this.xrTableCellOrganization.Size = new System.Drawing.Size(225, 25);
     this.xrTableCellOrganization.Text = "Organization / Place of Appointment";
     //
     // xrTableCellContact
     //
     this.xrTableCellContact.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCellContact.Location = new System.Drawing.Point(535, 0);
     this.xrTableCellContact.Name = "xrTableCellContact";
     this.xrTableCellContact.ParentStyleUsing.UseFont = false;
     this.xrTableCellContact.Size = new System.Drawing.Size(135, 25);
     this.xrTableCellContact.Text = "Contact";
     //
     // xrTableCellAppointmentType
     //
     this.xrTableCellAppointmentType.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCellAppointmentType.Location = new System.Drawing.Point(670, 0);
     this.xrTableCellAppointmentType.Name = "xrTableCellAppointmentType";
     this.xrTableCellAppointmentType.ParentStyleUsing.UseFont = false;
     this.xrTableCellAppointmentType.Size = new System.Drawing.Size(116, 25);
     this.xrTableCellAppointmentType.Text = "Appointment Type";
     //
     // xrTableCellRemarks
     //
     this.xrTableCellRemarks.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCellRemarks.Location = new System.Drawing.Point(786, 0);
     this.xrTableCellRemarks.Name = "xrTableCellRemarks";
     this.xrTableCellRemarks.ParentStyleUsing.UseFont = false;
     this.xrTableCellRemarks.Size = new System.Drawing.Size(80, 25);
     this.xrTableCellRemarks.Text = "Remarks";
     //
     // BottomMargin
     //
     this.BottomMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                                                                                       this.xrPageInfo1});
     this.BottomMargin.Height = 34;
     this.BottomMargin.Name = "BottomMargin";
     //
     // xrPageInfo1
     //
     this.xrPageInfo1.Format = "Page : {0 } / {1}";
     this.xrPageInfo1.Location = new System.Drawing.Point(783, 0);
     this.xrPageInfo1.Name = "xrPageInfo1";
     this.xrPageInfo1.Size = new System.Drawing.Size(100, 25);
     //
     // xrLabel2
     //
     this.xrLabel2.Location = new System.Drawing.Point(17, 50);
     this.xrLabel2.Name = "xrLabel2";
     this.xrLabel2.Size = new System.Drawing.Size(100, 25);
     this.xrLabel2.Text = "Employee ID:";
     //
     // xrLabelName
     //
     this.xrLabelName.Location = new System.Drawing.Point(117, 75);
     this.xrLabelName.Name = "xrLabelName";
     this.xrLabelName.Size = new System.Drawing.Size(550, 25);
     this.xrLabelName.Text = "xrLabelName";
     //
     // xrLabelID
     //
     this.xrLabelID.Location = new System.Drawing.Point(117, 50);
     this.xrLabelID.Name = "xrLabelID";
     this.xrLabelID.Size = new System.Drawing.Size(283, 25);
     this.xrLabelID.Text = "xrLabelID";
     //
     // xrLabel3
     //
     this.xrLabel3.Location = new System.Drawing.Point(17, 75);
     this.xrLabel3.Name = "xrLabel3";
     this.xrLabel3.Size = new System.Drawing.Size(100, 25);
     this.xrLabel3.Text = "Employee Name:";
     //
     // ReportAppointment
     //
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
                                                                  this.Detail,
                                                                  this.PageHeader,
                                                                  this.BottomMargin});
     this.Landscape = true;
     this.Margins = new System.Drawing.Printing.Margins(100, 100, 100, 34);
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Ejemplo n.º 11
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.Detail                     = new DevExpress.XtraReports.UI.DetailBand();
     this.PageHeader                 = new DevExpress.XtraReports.UI.PageHeaderBand();
     this.xrLabel1                   = new DevExpress.XtraReports.UI.XRLabel();
     this.xrTable1                   = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow1                = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell1               = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell2               = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell4               = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell3               = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell5               = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell6               = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell7               = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTable2                   = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow2                = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCellDate            = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCellStartTime       = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCellEndTime         = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCellOrganization    = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCellContact         = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCellAppointmentType = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCellRemarks         = new DevExpress.XtraReports.UI.XRTableCell();
     this.BottomMargin               = new DevExpress.XtraReports.UI.BottomMarginBand();
     this.xrPageInfo1                = new DevExpress.XtraReports.UI.XRPageInfo();
     this.xrLabel2                   = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabelName                = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabelID                  = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel3                   = new DevExpress.XtraReports.UI.XRLabel();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // Detail
     //
     this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable2
     });
     this.Detail.Height = 46;
     this.Detail.Name   = "Detail";
     //
     // PageHeader
     //
     this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel3,
         this.xrLabelID,
         this.xrLabelName,
         this.xrLabel2,
         this.xrTable1,
         this.xrLabel1
     });
     this.PageHeader.Height = 138;
     this.PageHeader.Name   = "PageHeader";
     //
     // xrLabel1
     //
     this.xrLabel1.Font     = new System.Drawing.Font("Times New Roman", 16F, System.Drawing.FontStyle.Bold);
     this.xrLabel1.Location = new System.Drawing.Point(275, 8);
     this.xrLabel1.Name     = "xrLabel1";
     this.xrLabel1.ParentStyleUsing.UseFont = false;
     this.xrLabel1.Size          = new System.Drawing.Size(375, 25);
     this.xrLabel1.Text          = "Appointment Listing";
     this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // xrTable1
     //
     this.xrTable1.Location = new System.Drawing.Point(17, 108);
     this.xrTable1.Name     = "xrTable1";
     this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow1
     });
     this.xrTable1.Size = new System.Drawing.Size(866, 25);
     //
     // xrTableRow1
     //
     this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell7,
         this.xrTableCell1,
         this.xrTableCell6,
         this.xrTableCell2,
         this.xrTableCell3,
         this.xrTableCell5,
         this.xrTableCell4
     });
     this.xrTableRow1.Name = "xrTableRow1";
     this.xrTableRow1.Size = new System.Drawing.Size(866, 25);
     //
     // xrTableCell1
     //
     this.xrTableCell1.Font     = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCell1.Location = new System.Drawing.Point(133, 0);
     this.xrTableCell1.Name     = "xrTableCell1";
     this.xrTableCell1.ParentStyleUsing.UseFont = false;
     this.xrTableCell1.Size = new System.Drawing.Size(86, 25);
     this.xrTableCell1.Text = "Start Time";
     //
     // xrTableCell2
     //
     this.xrTableCell2.Font     = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCell2.Location = new System.Drawing.Point(310, 0);
     this.xrTableCell2.Name     = "xrTableCell2";
     this.xrTableCell2.ParentStyleUsing.UseFont = false;
     this.xrTableCell2.Size = new System.Drawing.Size(225, 25);
     this.xrTableCell2.Text = "Organization / Place of Appointment";
     //
     // xrTableCell4
     //
     this.xrTableCell4.Font     = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCell4.Location = new System.Drawing.Point(786, 0);
     this.xrTableCell4.Name     = "xrTableCell4";
     this.xrTableCell4.ParentStyleUsing.UseFont = false;
     this.xrTableCell4.Size = new System.Drawing.Size(80, 25);
     this.xrTableCell4.Text = "Remarks";
     //
     // xrTableCell3
     //
     this.xrTableCell3.Font     = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCell3.Location = new System.Drawing.Point(535, 0);
     this.xrTableCell3.Name     = "xrTableCell3";
     this.xrTableCell3.ParentStyleUsing.UseFont = false;
     this.xrTableCell3.Size = new System.Drawing.Size(135, 25);
     this.xrTableCell3.Text = "Contact";
     //
     // xrTableCell5
     //
     this.xrTableCell5.Font     = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCell5.Location = new System.Drawing.Point(670, 0);
     this.xrTableCell5.Name     = "xrTableCell5";
     this.xrTableCell5.ParentStyleUsing.UseFont = false;
     this.xrTableCell5.Size = new System.Drawing.Size(116, 25);
     this.xrTableCell5.Text = "Appointment Type";
     //
     // xrTableCell6
     //
     this.xrTableCell6.Font     = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCell6.Location = new System.Drawing.Point(219, 0);
     this.xrTableCell6.Name     = "xrTableCell6";
     this.xrTableCell6.ParentStyleUsing.UseFont = false;
     this.xrTableCell6.Size = new System.Drawing.Size(91, 25);
     this.xrTableCell6.Text = "End Time";
     //
     // xrTableCell7
     //
     this.xrTableCell7.Font     = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCell7.Location = new System.Drawing.Point(0, 0);
     this.xrTableCell7.Name     = "xrTableCell7";
     this.xrTableCell7.ParentStyleUsing.UseFont = false;
     this.xrTableCell7.Size = new System.Drawing.Size(133, 25);
     this.xrTableCell7.Text = "Date";
     //
     // xrTable2
     //
     this.xrTable2.Location = new System.Drawing.Point(17, 8);
     this.xrTable2.Name     = "xrTable2";
     this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow2
     });
     this.xrTable2.Size = new System.Drawing.Size(866, 25);
     //
     // xrTableRow2
     //
     this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCellDate,
         this.xrTableCellStartTime,
         this.xrTableCellEndTime,
         this.xrTableCellOrganization,
         this.xrTableCellContact,
         this.xrTableCellAppointmentType,
         this.xrTableCellRemarks
     });
     this.xrTableRow2.Name = "xrTableRow2";
     this.xrTableRow2.Size = new System.Drawing.Size(866, 25);
     //
     // xrTableCellDate
     //
     this.xrTableCellDate.Font     = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCellDate.Location = new System.Drawing.Point(0, 0);
     this.xrTableCellDate.Name     = "xrTableCellDate";
     this.xrTableCellDate.ParentStyleUsing.UseFont = false;
     this.xrTableCellDate.Size = new System.Drawing.Size(133, 25);
     this.xrTableCellDate.Text = "Date";
     //
     // xrTableCellStartTime
     //
     this.xrTableCellStartTime.Font     = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCellStartTime.Location = new System.Drawing.Point(133, 0);
     this.xrTableCellStartTime.Name     = "xrTableCellStartTime";
     this.xrTableCellStartTime.ParentStyleUsing.UseFont = false;
     this.xrTableCellStartTime.Size = new System.Drawing.Size(86, 25);
     this.xrTableCellStartTime.Text = "Start Time";
     //
     // xrTableCellEndTime
     //
     this.xrTableCellEndTime.Font     = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCellEndTime.Location = new System.Drawing.Point(219, 0);
     this.xrTableCellEndTime.Name     = "xrTableCellEndTime";
     this.xrTableCellEndTime.ParentStyleUsing.UseFont = false;
     this.xrTableCellEndTime.Size = new System.Drawing.Size(91, 25);
     this.xrTableCellEndTime.Text = "End Time";
     //
     // xrTableCellOrganization
     //
     this.xrTableCellOrganization.Font     = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCellOrganization.Location = new System.Drawing.Point(310, 0);
     this.xrTableCellOrganization.Name     = "xrTableCellOrganization";
     this.xrTableCellOrganization.ParentStyleUsing.UseFont = false;
     this.xrTableCellOrganization.Size = new System.Drawing.Size(225, 25);
     this.xrTableCellOrganization.Text = "Organization / Place of Appointment";
     //
     // xrTableCellContact
     //
     this.xrTableCellContact.Font     = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCellContact.Location = new System.Drawing.Point(535, 0);
     this.xrTableCellContact.Name     = "xrTableCellContact";
     this.xrTableCellContact.ParentStyleUsing.UseFont = false;
     this.xrTableCellContact.Size = new System.Drawing.Size(135, 25);
     this.xrTableCellContact.Text = "Contact";
     //
     // xrTableCellAppointmentType
     //
     this.xrTableCellAppointmentType.Font     = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCellAppointmentType.Location = new System.Drawing.Point(670, 0);
     this.xrTableCellAppointmentType.Name     = "xrTableCellAppointmentType";
     this.xrTableCellAppointmentType.ParentStyleUsing.UseFont = false;
     this.xrTableCellAppointmentType.Size = new System.Drawing.Size(116, 25);
     this.xrTableCellAppointmentType.Text = "Appointment Type";
     //
     // xrTableCellRemarks
     //
     this.xrTableCellRemarks.Font     = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCellRemarks.Location = new System.Drawing.Point(786, 0);
     this.xrTableCellRemarks.Name     = "xrTableCellRemarks";
     this.xrTableCellRemarks.ParentStyleUsing.UseFont = false;
     this.xrTableCellRemarks.Size = new System.Drawing.Size(80, 25);
     this.xrTableCellRemarks.Text = "Remarks";
     //
     // BottomMargin
     //
     this.BottomMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrPageInfo1
     });
     this.BottomMargin.Height = 34;
     this.BottomMargin.Name   = "BottomMargin";
     //
     // xrPageInfo1
     //
     this.xrPageInfo1.Format   = "Page : {0 } / {1}";
     this.xrPageInfo1.Location = new System.Drawing.Point(783, 0);
     this.xrPageInfo1.Name     = "xrPageInfo1";
     this.xrPageInfo1.Size     = new System.Drawing.Size(100, 25);
     //
     // xrLabel2
     //
     this.xrLabel2.Location = new System.Drawing.Point(17, 50);
     this.xrLabel2.Name     = "xrLabel2";
     this.xrLabel2.Size     = new System.Drawing.Size(100, 25);
     this.xrLabel2.Text     = "Employee ID:";
     //
     // xrLabelName
     //
     this.xrLabelName.Location = new System.Drawing.Point(117, 75);
     this.xrLabelName.Name     = "xrLabelName";
     this.xrLabelName.Size     = new System.Drawing.Size(550, 25);
     this.xrLabelName.Text     = "xrLabelName";
     //
     // xrLabelID
     //
     this.xrLabelID.Location = new System.Drawing.Point(117, 50);
     this.xrLabelID.Name     = "xrLabelID";
     this.xrLabelID.Size     = new System.Drawing.Size(283, 25);
     this.xrLabelID.Text     = "xrLabelID";
     //
     // xrLabel3
     //
     this.xrLabel3.Location = new System.Drawing.Point(17, 75);
     this.xrLabel3.Name     = "xrLabel3";
     this.xrLabel3.Size     = new System.Drawing.Size(100, 25);
     this.xrLabel3.Text     = "Employee Name:";
     //
     // ReportAppointment
     //
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.Detail,
         this.PageHeader,
         this.BottomMargin
     });
     this.Landscape = true;
     this.Margins   = new System.Drawing.Printing.Margins(100, 100, 100, 34);
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }