private void InitializeComponent() { XRSummary xrSummary1 = new XRSummary(); XRSummary xrSummary2 = new XRSummary(); Detail = new DetailBand(); xrLabel21 = new XRLabel(); xrLabel20 = new XRLabel(); xrLabel19 = new XRLabel(); xrLabel18 = new XRLabel(); xrLabel26 = new XRLabel(); TopMargin = new TopMarginBand(); labelcompany = new XRLabel(); xrLabel1 = new XRLabel(); BottomMargin = new BottomMarginBand(); xrLabel2 = new XRLabel(); xrLabel3 = new XRLabel(); xrLabel4 = new XRLabel(); xrLabel5 = new XRLabel(); PageHeader = new PageHeaderBand(); xrLine2 = new XRLine(); xrLine1 = new XRLine(); xrLabel32 = new XRLabel(); lbldoctor = new XRLabel(); xrLabel23 = new XRLabel(); xrLabel22 = new XRLabel(); xrLabel15 = new XRLabel(); xrLabel29 = new XRLabel(); xrLabel30 = new XRLabel(); xrLabel31 = new XRLabel(); xrLabel16 = new XRLabel(); xrLabel17 = new XRLabel(); xrLabel10 = new XRLabel(); xrLabel9 = new XRLabel(); xrLabel6 = new XRLabel(); xrLabel8 = new XRLabel(); xrLabel7 = new XRLabel(); ReportFooter = new ReportFooterBand(); xrLine3 = new XRLine(); xrLabel34 = new XRLabel(); xrLabel33 = new XRLabel(); patdisc = new XRLabel(); compdiscamt = new XRLabel(); xrLabel25 = new XRLabel(); lbldiscount = new XRLabel(); xrLabel13 = new XRLabel(); lblpatshare = new XRLabel(); xrLabel11 = new XRLabel(); xrLabel24 = new XRLabel(); xrCrossBandBox1 = new XRCrossBandBox(); ((ISupportInitialize)(this)).BeginInit(); // // Detail // Detail.Controls.AddRange(new XRControl[] { xrLabel21, xrLabel20, xrLabel19, xrLabel18, xrLabel26}); Detail.HeightF = 20F; Detail.KeepTogether = true; Detail.Name = "Detail"; Detail.Padding = new PaddingInfo(0, 0, 0, 0, 100F); Detail.TextAlignment = TextAlignment.TopLeft; // // xrLabel21 // xrLabel21.DataBindings.AddRange(new[] { new XRBinding("Text", null, "SalesInvList.LINETOTAL", "{0:n2}")}); xrLabel21.LocationFloat = new PointFloat(625.0834F, 0F); xrLabel21.Name = "xrLabel21"; xrLabel21.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel21.SizeF = new SizeF(72.91669F, 20F); xrLabel21.StylePriority.UseTextAlignment = false; xrLabel21.Text = "xrLabel21"; xrLabel21.TextAlignment = TextAlignment.MiddleRight; // // xrLabel20 // xrLabel20.DataBindings.AddRange(new[] { new XRBinding("Text", null, "SalesInvList.INVRATE", "{0:n2}")}); xrLabel20.LocationFloat = new PointFloat(566.1246F, 0F); xrLabel20.Name = "xrLabel20"; xrLabel20.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel20.SizeF = new SizeF(54.16656F, 20F); xrLabel20.StylePriority.UseTextAlignment = false; xrLabel20.Text = "xrLabel20"; xrLabel20.TextAlignment = TextAlignment.MiddleRight; // // xrLabel19 // xrLabel19.DataBindings.AddRange(new[] { new XRBinding("Text", null, "SalesInvList.QTY", "{0:#,#}")}); xrLabel19.LocationFloat = new PointFloat(515.2913F, 0F); xrLabel19.Name = "xrLabel19"; xrLabel19.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel19.SizeF = new SizeF(46.62515F, 20F); xrLabel19.StylePriority.UseTextAlignment = false; xrLabel19.Text = "[SalesInvList.QTY]"; xrLabel19.TextAlignment = TextAlignment.MiddleCenter; // // xrLabel18 // xrLabel18.DataBindings.AddRange(new[] { new XRBinding("Text", null, "SalesInvList.ITEMNAME")}); xrLabel18.LocationFloat = new PointFloat(31.54163F, 0F); xrLabel18.Name = "xrLabel18"; xrLabel18.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel18.SizeF = new SizeF(470.0833F, 20F); xrLabel18.StylePriority.UseTextAlignment = false; xrLabel18.Text = "xrLabel18"; xrLabel18.TextAlignment = TextAlignment.MiddleLeft; // // xrLabel26 // xrLabel26.LocationFloat = new PointFloat(2.083333F, 0F); xrLabel26.Name = "xrLabel26"; xrLabel26.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel26.SizeF = new SizeF(26.33333F, 20F); xrLabel26.StylePriority.UseTextAlignment = false; xrSummary1.Func = SummaryFunc.RecordNumber; xrSummary1.Running = SummaryRunning.Report; xrLabel26.Summary = xrSummary1; xrLabel26.Text = "xrLabel26"; xrLabel26.TextAlignment = TextAlignment.MiddleCenter; // // TopMargin // TopMargin.Controls.AddRange(new XRControl[] { labelcompany, xrLabel1}); TopMargin.HeightF = 69F; TopMargin.Name = "TopMargin"; TopMargin.Padding = new PaddingInfo(0, 0, 0, 0, 100F); TopMargin.TextAlignment = TextAlignment.TopLeft; // // labelcompany // labelcompany.Font = new Font("Tahoma", 12F, FontStyle.Bold); labelcompany.LocationFloat = new PointFloat(85.41666F, 15.25F); labelcompany.Name = "labelcompany"; labelcompany.Padding = new PaddingInfo(2, 2, 0, 0, 100F); labelcompany.SizeF = new SizeF(534.8745F, 25.5F); labelcompany.StylePriority.UseFont = false; labelcompany.StylePriority.UseTextAlignment = false; labelcompany.Text = "labelcompany"; labelcompany.TextAlignment = TextAlignment.MiddleCenter; // // xrLabel1 // xrLabel1.Borders = ((BorderSide.Left | BorderSide.Top) | BorderSide.Right) | BorderSide.Bottom; xrLabel1.Font = new Font("Tahoma", 9.75F, FontStyle.Bold, GraphicsUnit.Point, 0); xrLabel1.LocationFloat = new PointFloat(256.1667F, 43.75F); xrLabel1.Name = "xrLabel1"; xrLabel1.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel1.SizeF = new SizeF(182.7082F, 23.75F); xrLabel1.StylePriority.UseBorders = false; xrLabel1.StylePriority.UseFont = false; xrLabel1.StylePriority.UseTextAlignment = false; xrLabel1.Text = "Sales Invoice"; xrLabel1.TextAlignment = TextAlignment.MiddleCenter; // // BottomMargin // BottomMargin.HeightF = 25F; BottomMargin.Name = "BottomMargin"; BottomMargin.Padding = new PaddingInfo(0, 0, 0, 0, 100F); BottomMargin.TextAlignment = TextAlignment.TopLeft; // // xrLabel2 // xrLabel2.Font = new Font("Tahoma", 9F, FontStyle.Regular, GraphicsUnit.Point, 0); xrLabel2.LocationFloat = new PointFloat(455.6246F, 6F); xrLabel2.Name = "xrLabel2"; xrLabel2.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel2.SizeF = new SizeF(87.5F, 18F); xrLabel2.StylePriority.UseFont = false; xrLabel2.StylePriority.UseTextAlignment = false; xrLabel2.Text = "Invoice No. :"; xrLabel2.TextAlignment = TextAlignment.MiddleLeft; // // xrLabel3 // xrLabel3.Font = new Font("Tahoma", 9F, FontStyle.Regular, GraphicsUnit.Point, 0); xrLabel3.LocationFloat = new PointFloat(455.6246F, 30.00002F); xrLabel3.Name = "xrLabel3"; xrLabel3.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel3.SizeF = new SizeF(87.5F, 18F); xrLabel3.StylePriority.UseFont = false; xrLabel3.StylePriority.UseTextAlignment = false; xrLabel3.Text = "Date :"; xrLabel3.TextAlignment = TextAlignment.MiddleLeft; // // xrLabel4 // xrLabel4.Font = new Font("Tahoma", 9F, FontStyle.Regular, GraphicsUnit.Point, 0); xrLabel4.LocationFloat = new PointFloat(5.124998F, 6.00001F); xrLabel4.Name = "xrLabel4"; xrLabel4.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel4.SizeF = new SizeF(129.4583F, 18F); xrLabel4.StylePriority.UseFont = false; xrLabel4.StylePriority.UseTextAlignment = false; xrLabel4.Text = "Customer name :"; xrLabel4.TextAlignment = TextAlignment.MiddleLeft; // // xrLabel5 // xrLabel5.Font = new Font("Tahoma", 9F, FontStyle.Regular, GraphicsUnit.Point, 0); xrLabel5.LocationFloat = new PointFloat(5.000003F, 30.00002F); xrLabel5.Name = "xrLabel5"; xrLabel5.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel5.SizeF = new SizeF(129.5833F, 18F); xrLabel5.StylePriority.UseFont = false; xrLabel5.StylePriority.UseTextAlignment = false; xrLabel5.Text = "Doctor :"; xrLabel5.TextAlignment = TextAlignment.MiddleLeft; // // PageHeader // PageHeader.Controls.AddRange(new XRControl[] { xrLine2, xrLine1, xrLabel32, lbldoctor, xrLabel23, xrLabel22, xrLabel4, xrLabel15, xrLabel5, xrLabel29, xrLabel30, xrLabel31, xrLabel3, xrLabel2, xrLabel16, xrLabel17, xrLabel10, xrLabel9, xrLabel6, xrLabel8, xrLabel7}); PageHeader.HeightF = 112.4167F; PageHeader.Name = "PageHeader"; // // xrLine2 // xrLine2.LocationFloat = new PointFloat(3.208333F, 110.4167F); xrLine2.Name = "xrLine2"; xrLine2.SizeF = new SizeF(700.6667F, 2F); // // xrLine1 // xrLine1.LocationFloat = new PointFloat(3.333333F, 86.54166F); xrLine1.Name = "xrLine1"; xrLine1.SizeF = new SizeF(699.3334F, 2F); // // xrLabel32 // xrLabel32.DataBindings.AddRange(new[] { new XRBinding("Text", null, "SalesInvList.CARDNO")}); xrLabel32.Font = new Font("Tahoma", 9F, FontStyle.Regular, GraphicsUnit.Point, 0); xrLabel32.LocationFloat = new PointFloat(543.1246F, 54.00003F); xrLabel32.Name = "xrLabel32"; xrLabel32.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel32.SizeF = new SizeF(154.9586F, 18F); xrLabel32.StylePriority.UseFont = false; xrLabel32.StylePriority.UseTextAlignment = false; xrLabel32.Text = "xrLabel32"; xrLabel32.TextAlignment = TextAlignment.MiddleLeft; // // lbldoctor // lbldoctor.Font = new Font("Tahoma", 9F, FontStyle.Regular, GraphicsUnit.Point, 0); lbldoctor.LocationFloat = new PointFloat(134.5833F, 30F); lbldoctor.Name = "lbldoctor"; lbldoctor.Padding = new PaddingInfo(2, 2, 0, 0, 100F); lbldoctor.SizeF = new SizeF(291.6667F, 18F); lbldoctor.StylePriority.UseFont = false; lbldoctor.StylePriority.UseTextAlignment = false; lbldoctor.Text = "lbldoctorname"; lbldoctor.TextAlignment = TextAlignment.MiddleLeft; // // xrLabel23 // xrLabel23.DataBindings.AddRange(new[] { new XRBinding("Text", null, "SalesInvList.GRADE")}); xrLabel23.Font = new Font("Tahoma", 9F, FontStyle.Regular, GraphicsUnit.Point, 0); xrLabel23.LocationFloat = new PointFloat(327.3748F, 54.00003F); xrLabel23.Name = "xrLabel23"; xrLabel23.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel23.SizeF = new SizeF(122.2498F, 18F); xrLabel23.StylePriority.UseFont = false; xrLabel23.StylePriority.UseTextAlignment = false; xrLabel23.Text = "xrLabel23"; xrLabel23.TextAlignment = TextAlignment.MiddleLeft; xrLabel23.Visible = false; // // xrLabel22 // xrLabel22.DataBindings.AddRange(new[] { new XRBinding("Text", null, "SalesInvList.CARDID")}); xrLabel22.Font = new Font("Tahoma", 9F, FontStyle.Regular, GraphicsUnit.Point, 0); xrLabel22.LocationFloat = new PointFloat(134.5833F, 54.00001F); xrLabel22.Name = "xrLabel22"; xrLabel22.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel22.SizeF = new SizeF(142.9167F, 18F); xrLabel22.StylePriority.UseFont = false; xrLabel22.StylePriority.UseTextAlignment = false; xrLabel22.Text = "xrLabel22"; xrLabel22.TextAlignment = TextAlignment.MiddleLeft; // // xrLabel15 // xrLabel15.DataBindings.AddRange(new[] { new XRBinding("Text", null, "SalesInvList.CUSTNAME")}); xrLabel15.Font = new Font("Tahoma", 9F, FontStyle.Regular, GraphicsUnit.Point, 0); xrLabel15.LocationFloat = new PointFloat(134.5833F, 5.999994F); xrLabel15.Name = "xrLabel15"; xrLabel15.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel15.SizeF = new SizeF(291.6667F, 18F); xrLabel15.StylePriority.UseFont = false; xrLabel15.StylePriority.UseTextAlignment = false; xrLabel15.Text = "xrLabel15"; xrLabel15.TextAlignment = TextAlignment.MiddleLeft; // // xrLabel29 // xrLabel29.Font = new Font("Tahoma", 9F, FontStyle.Regular, GraphicsUnit.Point, 0); xrLabel29.LocationFloat = new PointFloat(455.6246F, 54.00003F); xrLabel29.Name = "xrLabel29"; xrLabel29.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel29.SizeF = new SizeF(87.5F, 18F); xrLabel29.StylePriority.UseFont = false; xrLabel29.StylePriority.UseTextAlignment = false; xrLabel29.Text = "Policy No. :"; xrLabel29.TextAlignment = TextAlignment.MiddleLeft; // // xrLabel30 // xrLabel30.Font = new Font("Tahoma", 9.75F); xrLabel30.LocationFloat = new PointFloat(280.5832F, 54.00003F); xrLabel30.Name = "xrLabel30"; xrLabel30.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel30.SizeF = new SizeF(46.79153F, 18F); xrLabel30.StylePriority.UseFont = false; xrLabel30.StylePriority.UseTextAlignment = false; xrLabel30.Text = "Class :"; xrLabel30.TextAlignment = TextAlignment.MiddleLeft; xrLabel30.Visible = false; // // xrLabel31 // xrLabel31.Font = new Font("Tahoma", 9F, FontStyle.Regular, GraphicsUnit.Point, 0); xrLabel31.LocationFloat = new PointFloat(4.166667F, 54.00003F); xrLabel31.Name = "xrLabel31"; xrLabel31.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel31.SizeF = new SizeF(130.4166F, 18F); xrLabel31.StylePriority.UseFont = false; xrLabel31.StylePriority.UseTextAlignment = false; xrLabel31.Text = "Member Id / File No. :"; xrLabel31.TextAlignment = TextAlignment.MiddleLeft; // // xrLabel16 // xrLabel16.DataBindings.AddRange(new[] { new XRBinding("Text", null, "SalesInvList.SINVNO")}); xrLabel16.Font = new Font("Tahoma", 9F, FontStyle.Bold, GraphicsUnit.Point, 0); xrLabel16.LocationFloat = new PointFloat(543.1246F, 6.00001F); xrLabel16.Name = "xrLabel16"; xrLabel16.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel16.SizeF = new SizeF(154.8755F, 18F); xrLabel16.StylePriority.UseFont = false; xrLabel16.StylePriority.UseTextAlignment = false; xrLabel16.Text = "xrLabel16"; xrLabel16.TextAlignment = TextAlignment.MiddleLeft; // // xrLabel17 // xrLabel17.DataBindings.AddRange(new[] { new XRBinding("Text", null, "SalesInvList.TRANDATE")}); xrLabel17.Font = new Font("Tahoma", 9F, FontStyle.Regular, GraphicsUnit.Point, 0); xrLabel17.LocationFloat = new PointFloat(543.1246F, 30.00002F); xrLabel17.Name = "xrLabel17"; xrLabel17.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel17.SizeF = new SizeF(153.8754F, 18F); xrLabel17.StylePriority.UseFont = false; xrLabel17.StylePriority.UseTextAlignment = false; xrLabel17.Text = "xrLabel17"; xrLabel17.TextAlignment = TextAlignment.MiddleLeft; // // xrLabel10 // xrLabel10.Font = new Font("Tahoma", 9F, FontStyle.Bold); xrLabel10.LocationFloat = new PointFloat(625.0833F, 88.54166F); xrLabel10.Name = "xrLabel10"; xrLabel10.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel10.SizeF = new SizeF(72.91669F, 19.79166F); xrLabel10.StylePriority.UseFont = false; xrLabel10.StylePriority.UseTextAlignment = false; xrLabel10.Text = "Total"; xrLabel10.TextAlignment = TextAlignment.MiddleCenter; // // xrLabel9 // xrLabel9.Font = new Font("Tahoma", 9F, FontStyle.Bold); xrLabel9.LocationFloat = new PointFloat(568.1246F, 88.54166F); xrLabel9.Name = "xrLabel9"; xrLabel9.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel9.SizeF = new SizeF(52.16663F, 19.79166F); xrLabel9.StylePriority.UseFont = false; xrLabel9.StylePriority.UseTextAlignment = false; xrLabel9.Text = "Price"; xrLabel9.TextAlignment = TextAlignment.MiddleCenter; // // xrLabel6 // xrLabel6.Font = new Font("Tahoma", 9F, FontStyle.Bold); xrLabel6.LocationFloat = new PointFloat(4.083333F, 88.62505F); xrLabel6.Name = "xrLabel6"; xrLabel6.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel6.SizeF = new SizeF(26.33333F, 19.79166F); xrLabel6.StylePriority.UseFont = false; xrLabel6.StylePriority.UseTextAlignment = false; xrLabel6.Text = "S #"; xrLabel6.TextAlignment = TextAlignment.MiddleLeft; // // xrLabel8 // xrLabel8.Font = new Font("Tahoma", 9F, FontStyle.Bold); xrLabel8.LocationFloat = new PointFloat(518.1666F, 88.54166F); xrLabel8.Name = "xrLabel8"; xrLabel8.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel8.SizeF = new SizeF(43.75009F, 19.79166F); xrLabel8.StylePriority.UseFont = false; xrLabel8.StylePriority.UseTextAlignment = false; xrLabel8.Text = "Qty"; xrLabel8.TextAlignment = TextAlignment.MiddleCenter; // // xrLabel7 // xrLabel7.Font = new Font("Tahoma", 9F, FontStyle.Bold); xrLabel7.LocationFloat = new PointFloat(31.54163F, 88.62505F); xrLabel7.Name = "xrLabel7"; xrLabel7.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel7.SizeF = new SizeF(470.0833F, 19.79167F); xrLabel7.StylePriority.UseFont = false; xrLabel7.StylePriority.UseTextAlignment = false; xrLabel7.Text = "Item name"; xrLabel7.TextAlignment = TextAlignment.MiddleCenter; // // ReportFooter // ReportFooter.Controls.AddRange(new XRControl[] { xrLine3, xrLabel34, xrLabel33, patdisc, compdiscamt, xrLabel25, lbldiscount, xrLabel13, lblpatshare, xrLabel11, xrLabel24}); ReportFooter.Font = new Font("Tahoma", 9F); ReportFooter.HeightF = 81.25003F; ReportFooter.KeepTogether = true; ReportFooter.Name = "ReportFooter"; ReportFooter.StylePriority.UseFont = false; // // xrLine3 // xrLine3.LocationFloat = new PointFloat(3.25F, 0F); xrLine3.Name = "xrLine3"; xrLine3.SizeF = new SizeF(699.5833F, 2.083333F); // // xrLabel34 // xrLabel34.DataBindings.AddRange(new[] { new XRBinding("Text", null, "SalesInvList.CUSTOMERFIXDISC", "{0:#.00}")}); xrLabel34.Font = new Font("Tahoma", 9F, FontStyle.Bold, GraphicsUnit.Point, 0); xrLabel34.LocationFloat = new PointFloat(451.5833F, 20.83333F); xrLabel34.Name = "xrLabel34"; xrLabel34.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel34.SizeF = new SizeF(60.25003F, 18F); xrLabel34.StylePriority.UseFont = false; xrLabel34.StylePriority.UseTextAlignment = false; xrLabel34.Text = "xrLabel34"; xrLabel34.TextAlignment = TextAlignment.MiddleRight; // // xrLabel33 // xrLabel33.DataBindings.AddRange(new[] { new XRBinding("Text", null, "SalesInvList.CARDDISC", "{0:n2}")}); xrLabel33.Font = new Font("Tahoma", 9F, FontStyle.Bold, GraphicsUnit.Point, 0); xrLabel33.LocationFloat = new PointFloat(420.9164F, 41.41665F); xrLabel33.Name = "xrLabel33"; xrLabel33.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel33.SizeF = new SizeF(60.25003F, 18F); xrLabel33.StylePriority.UseFont = false; xrLabel33.StylePriority.UseTextAlignment = false; xrLabel33.Text = "xrLabel33"; xrLabel33.TextAlignment = TextAlignment.MiddleRight; // // patdisc // patdisc.LocationFloat = new PointFloat(598.75F, 41.62499F); patdisc.Name = "patdisc"; patdisc.Padding = new PaddingInfo(2, 2, 0, 0, 100F); patdisc.SizeF = new SizeF(95.37476F, 17.79165F); patdisc.StylePriority.UseTextAlignment = false; patdisc.TextAlignment = TextAlignment.MiddleRight; // // compdiscamt // compdiscamt.LocationFloat = new PointFloat(598.75F, 20.62499F); compdiscamt.Name = "compdiscamt"; compdiscamt.Padding = new PaddingInfo(2, 2, 0, 0, 100F); compdiscamt.SizeF = new SizeF(96.24994F, 21F); compdiscamt.StylePriority.UseTextAlignment = false; compdiscamt.TextAlignment = TextAlignment.MiddleRight; // // xrLabel25 // xrLabel25.DataBindings.AddRange(new[] { new XRBinding("Text", null, "SalesInvList.NETAMT", "{0:n2}")}); xrLabel25.LocationFloat = new PointFloat(598.7499F, 0F); xrLabel25.Name = "xrLabel25"; xrLabel25.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel25.SizeF = new SizeF(98.24994F, 20F); xrLabel25.StylePriority.UseTextAlignment = false; xrLabel25.Text = "xrLabel25"; xrLabel25.TextAlignment = TextAlignment.MiddleRight; // // lbldiscount // lbldiscount.Font = new Font("Tahoma", 9F, FontStyle.Bold); lbldiscount.LocationFloat = new PointFloat(511.8333F, 20.83333F); lbldiscount.Name = "lbldiscount"; lbldiscount.Padding = new PaddingInfo(2, 2, 0, 0, 100F); lbldiscount.SizeF = new SizeF(86.91678F, 21F); lbldiscount.StylePriority.UseFont = false; lbldiscount.StylePriority.UseTextAlignment = false; lbldiscount.Text = "% Discount : "; lbldiscount.TextAlignment = TextAlignment.MiddleLeft; // // xrLabel13 // xrLabel13.Font = new Font("Tahoma", 9F, FontStyle.Bold); xrLabel13.LocationFloat = new PointFloat(509.8332F, 60.41667F); xrLabel13.Name = "xrLabel13"; xrLabel13.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel13.SizeF = new SizeF(87.91675F, 18.79166F); xrLabel13.StylePriority.UseFont = false; xrLabel13.StylePriority.UseTextAlignment = false; xrLabel13.Text = "Net Amount :"; xrLabel13.TextAlignment = TextAlignment.MiddleLeft; // // lblpatshare // lblpatshare.Font = new Font("Tahoma", 9F, FontStyle.Bold); lblpatshare.LocationFloat = new PointFloat(481.9999F, 40.625F); lblpatshare.Name = "lblpatshare"; lblpatshare.Padding = new PaddingInfo(2, 2, 0, 0, 100F); lblpatshare.SizeF = new SizeF(116.7501F, 19.79167F); lblpatshare.StylePriority.UseFont = false; lblpatshare.StylePriority.UseTextAlignment = false; lblpatshare.Text = "% Patient Share :"; lblpatshare.TextAlignment = TextAlignment.MiddleLeft; // // xrLabel11 // xrLabel11.Font = new Font("Tahoma", 9F, FontStyle.Bold); xrLabel11.LocationFloat = new PointFloat(528.5831F, 0.2083461F); xrLabel11.Name = "xrLabel11"; xrLabel11.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel11.SizeF = new SizeF(70.16687F, 19.79166F); xrLabel11.StylePriority.UseFont = false; xrLabel11.StylePriority.UseTextAlignment = false; xrLabel11.Text = "Sub total :"; xrLabel11.TextAlignment = TextAlignment.MiddleLeft; // // xrLabel24 // xrLabel24.DataBindings.AddRange(new[] { new XRBinding("Text", null, "SalesInvList.CREDITAMT", "{0:#.00}")}); xrLabel24.Font = new Font("Tahoma", 9F, FontStyle.Bold, GraphicsUnit.Point, 0); xrLabel24.LocationFloat = new PointFloat(598.7499F, 59.54167F); xrLabel24.Name = "xrLabel24"; xrLabel24.Padding = new PaddingInfo(2, 2, 0, 0, 100F); xrLabel24.SizeF = new SizeF(94.24994F, 19.625F); xrLabel24.StylePriority.UseFont = false; xrLabel24.StylePriority.UseTextAlignment = false; xrSummary2.FormatString = "{0:n2}"; xrLabel24.Summary = xrSummary2; xrLabel24.Text = "xrLabel24"; xrLabel24.TextAlignment = TextAlignment.MiddleRight; // // xrCrossBandBox1 // xrCrossBandBox1.BorderWidth = 1F; xrCrossBandBox1.EndBand = PageHeader; xrCrossBandBox1.EndPointFloat = new PointFloat(2.083333F, 82.29166F); xrCrossBandBox1.LocationFloat = new PointFloat(2.083333F, 0F); xrCrossBandBox1.Name = "xrCrossBandBox1"; xrCrossBandBox1.StartBand = PageHeader; xrCrossBandBox1.StartPointFloat = new PointFloat(2.083333F, 0F); xrCrossBandBox1.WidthF = 704.1667F; // // RptSalesInsurance // Bands.AddRange(new Band[] { Detail, TopMargin, BottomMargin, PageHeader, ReportFooter}); CrossBandControls.AddRange(new XRCrossBandControl[] { xrCrossBandBox1}); Margins = new Margins(54, 66, 69, 25); PageHeight = 1169; PageWidth = 827; PaperKind = PaperKind.A4; ShowPrintMarginsWarning = false; SnapToGrid = false; Version = "14.1"; ((ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MonthlyPayroll)); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand(); this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand(); this.pageFooterBand1 = new DevExpress.XtraReports.UI.PageFooterBand(); this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel(); this.User = new DevExpress.XtraReports.Parameters.Parameter(); this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel(); this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo(); this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo(); this.reportHeaderBand1 = new DevExpress.XtraReports.UI.ReportHeaderBand(); this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); this.Title = new DevExpress.XtraReports.UI.XRControlStyle(); this.FieldCaption = new DevExpress.XtraReports.UI.XRControlStyle(); this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle(); this.DataField = new DevExpress.XtraReports.UI.XRControlStyle(); this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.objectDataSource1 = new DevExpress.DataAccess.ObjectBinding.ObjectDataSource(this.components); this.DetailReport1 = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail2 = new DevExpress.XtraReports.UI.DetailBand(); this.DetailReport2 = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail3 = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.DetailReport3 = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail4 = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); this.Money = new DevExpress.XtraReports.UI.XRControlStyle(); this.header = new DevExpress.XtraReports.UI.XRControlStyle(); this.DetailReport4 = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail5 = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel(); this.Branch = new DevExpress.XtraReports.Parameters.Parameter(); this.xrLabel27 = new DevExpress.XtraReports.UI.XRLabel(); this.Ref = new DevExpress.XtraReports.Parameters.Parameter(); this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel(); this.Payment = new DevExpress.XtraReports.Parameters.Parameter(); this.xrLabel25 = new DevExpress.XtraReports.UI.XRLabel(); this.Department = new DevExpress.XtraReports.Parameters.Parameter(); this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel(); this.xrCrossBandBox1 = new DevExpress.XtraReports.UI.XRCrossBandBox(); this.xrCrossBandLine1 = new DevExpress.XtraReports.UI.XRCrossBandLine(); this.xrCrossBandLine2 = new DevExpress.XtraReports.UI.XRCrossBandLine(); ((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel12 }); resources.ApplyResources(this.Detail, "Detail"); this.Detail.Name = "Detail"; this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.Detail.StyleName = "DataField"; this.Detail.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.Detail_BeforePrint); // // xrLabel12 // resources.ApplyResources(this.xrLabel12, "xrLabel12"); this.xrLabel12.Name = "xrLabel12"; this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel12.StylePriority.UseTextAlignment = false; // // TopMargin // resources.ApplyResources(this.TopMargin, "TopMargin"); this.TopMargin.Name = "TopMargin"; this.TopMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); // // BottomMargin // this.BottomMargin.Name = "BottomMargin"; this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); resources.ApplyResources(this.BottomMargin, "BottomMargin"); // // pageFooterBand1 // this.pageFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel24, this.xrLabel23, this.xrPageInfo1, this.xrPageInfo2 }); resources.ApplyResources(this.pageFooterBand1, "pageFooterBand1"); this.pageFooterBand1.Name = "pageFooterBand1"; // // xrLabel24 // this.xrLabel24.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding(this.User, "Text", "") }); resources.ApplyResources(this.xrLabel24, "xrLabel24"); this.xrLabel24.Name = "xrLabel24"; this.xrLabel24.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); // // User // resources.ApplyResources(this.User, "User"); this.User.Name = "User"; this.User.Visible = false; // // xrLabel23 // resources.ApplyResources(this.xrLabel23, "xrLabel23"); this.xrLabel23.Name = "xrLabel23"; this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); // // xrPageInfo1 // resources.ApplyResources(this.xrPageInfo1, "xrPageInfo1"); this.xrPageInfo1.Name = "xrPageInfo1"; this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime; this.xrPageInfo1.StyleName = "PageInfo"; // // xrPageInfo2 // resources.ApplyResources(this.xrPageInfo2, "xrPageInfo2"); this.xrPageInfo2.Name = "xrPageInfo2"; this.xrPageInfo2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrPageInfo2.StyleName = "PageInfo"; // // reportHeaderBand1 // this.reportHeaderBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel18, this.xrLabel17, this.xrLabel15 }); resources.ApplyResources(this.reportHeaderBand1, "reportHeaderBand1"); this.reportHeaderBand1.Name = "reportHeaderBand1"; // // xrLabel18 // this.xrLabel18.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "PayDate") }); resources.ApplyResources(this.xrLabel18, "xrLabel18"); this.xrLabel18.Name = "xrLabel18"; this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel18.StylePriority.UseFont = false; // // xrLabel17 // resources.ApplyResources(this.xrLabel17, "xrLabel17"); this.xrLabel17.Multiline = true; this.xrLabel17.Name = "xrLabel17"; this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel17.StylePriority.UseFont = false; this.xrLabel17.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.xrLabel17_BeforePrint); // // xrLabel15 // resources.ApplyResources(this.xrLabel15, "xrLabel15"); this.xrLabel15.Name = "xrLabel15"; this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel15.StyleName = "Title"; this.xrLabel15.StylePriority.UseTextAlignment = false; // // Title // this.Title.BackColor = System.Drawing.Color.Transparent; this.Title.BorderColor = System.Drawing.Color.Black; this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None; this.Title.BorderWidth = 1F; this.Title.Font = new System.Drawing.Font("Times New Roman", 21F); this.Title.ForeColor = System.Drawing.Color.Black; this.Title.Name = "Title"; // // FieldCaption // this.FieldCaption.BackColor = System.Drawing.Color.Transparent; this.FieldCaption.BorderColor = System.Drawing.Color.Black; this.FieldCaption.Borders = DevExpress.XtraPrinting.BorderSide.None; this.FieldCaption.BorderWidth = 1F; this.FieldCaption.Font = new System.Drawing.Font("Times New Roman", 10F); this.FieldCaption.ForeColor = System.Drawing.Color.Black; this.FieldCaption.Name = "FieldCaption"; // // PageInfo // this.PageInfo.BackColor = System.Drawing.Color.Transparent; this.PageInfo.BorderColor = System.Drawing.Color.Black; this.PageInfo.Borders = DevExpress.XtraPrinting.BorderSide.None; this.PageInfo.BorderWidth = 1F; this.PageInfo.Font = new System.Drawing.Font("Arial", 8F); this.PageInfo.ForeColor = System.Drawing.Color.Black; this.PageInfo.Name = "PageInfo"; // // DataField // this.DataField.BackColor = System.Drawing.Color.Transparent; this.DataField.BorderColor = System.Drawing.Color.Black; this.DataField.Borders = DevExpress.XtraPrinting.BorderSide.None; this.DataField.BorderWidth = 1F; this.DataField.Font = new System.Drawing.Font("Arial", 9F); this.DataField.ForeColor = System.Drawing.Color.Black; this.DataField.Name = "DataField"; this.DataField.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.DataField.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // DetailReport // this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail1 }); this.DetailReport.DataMember = "Names"; this.DetailReport.DataSource = this.objectDataSource1; this.DetailReport.Level = 1; this.DetailReport.Name = "DetailReport"; this.DetailReport.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.DetailReport_BeforePrint); // // Detail1 // resources.ApplyResources(this.Detail1, "Detail1"); this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel14, this.xrLabel8, this.xrLabel7, this.xrLabel6, this.xrLabel1 }); this.Detail1.KeepTogether = true; this.Detail1.MultiColumn.ColumnCount = 15; this.Detail1.MultiColumn.ColumnWidth = 60F; this.Detail1.MultiColumn.Layout = DevExpress.XtraPrinting.ColumnLayout.AcrossThenDown; this.Detail1.MultiColumn.Mode = DevExpress.XtraReports.UI.MultiColumnMode.UseColumnWidth; this.Detail1.Name = "Detail1"; this.Detail1.StylePriority.UseBackColor = false; // // xrLabel14 // resources.ApplyResources(this.xrLabel14, "xrLabel14"); this.xrLabel14.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel14.Name = "xrLabel14"; this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrLabel14.ProcessDuplicatesMode = DevExpress.XtraReports.UI.ProcessDuplicatesMode.Suppress; this.xrLabel14.StyleName = "header"; this.xrLabel14.StylePriority.UseBackColor = false; this.xrLabel14.StylePriority.UseBorders = false; this.xrLabel14.StylePriority.UseFont = false; this.xrLabel14.StylePriority.UsePadding = false; // // xrLabel8 // resources.ApplyResources(this.xrLabel8, "xrLabel8"); this.xrLabel8.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrLabel8.ProcessDuplicatesMode = DevExpress.XtraReports.UI.ProcessDuplicatesMode.Suppress; this.xrLabel8.StyleName = "header"; this.xrLabel8.StylePriority.UseBackColor = false; this.xrLabel8.StylePriority.UseBorders = false; this.xrLabel8.StylePriority.UseFont = false; this.xrLabel8.StylePriority.UsePadding = false; // // xrLabel7 // resources.ApplyResources(this.xrLabel7, "xrLabel7"); this.xrLabel7.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrLabel7.ProcessDuplicatesMode = DevExpress.XtraReports.UI.ProcessDuplicatesMode.Suppress; this.xrLabel7.StyleName = "header"; this.xrLabel7.StylePriority.UseBackColor = false; this.xrLabel7.StylePriority.UseBorders = false; this.xrLabel7.StylePriority.UseFont = false; this.xrLabel7.StylePriority.UsePadding = false; // // xrLabel6 // resources.ApplyResources(this.xrLabel6, "xrLabel6"); this.xrLabel6.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrLabel6.ProcessDuplicatesMode = DevExpress.XtraReports.UI.ProcessDuplicatesMode.Suppress; this.xrLabel6.StyleName = "header"; this.xrLabel6.StylePriority.UseBackColor = false; this.xrLabel6.StylePriority.UseBorders = false; this.xrLabel6.StylePriority.UseFont = false; this.xrLabel6.StylePriority.UsePadding = false; // // xrLabel1 // resources.ApplyResources(this.xrLabel1, "xrLabel1"); this.xrLabel1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Names.name") }); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrLabel1.StyleName = "header"; this.xrLabel1.StylePriority.UseBackColor = false; this.xrLabel1.StylePriority.UseBorders = false; this.xrLabel1.StylePriority.UseFont = false; this.xrLabel1.StylePriority.UsePadding = false; this.xrLabel1.StylePriority.UseTextAlignment = false; // // objectDataSource1 // this.objectDataSource1.DataSource = typeof(Model.Reports.MonthlyPayrollCollection); this.objectDataSource1.Name = "objectDataSource1"; // // DetailReport1 // this.DetailReport1.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail2, this.DetailReport2 }); this.DetailReport1.DataMember = "Payrolls"; this.DetailReport1.DataSource = this.objectDataSource1; this.DetailReport1.Level = 2; this.DetailReport1.Name = "DetailReport1"; this.DetailReport1.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.DetailReport1_BeforePrint); // // Detail2 // resources.ApplyResources(this.Detail2, "Detail2"); this.Detail2.Name = "Detail2"; // // DetailReport2 // this.DetailReport2.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail3 }); this.DetailReport2.DataMember = "Payrolls.Entitlements"; this.DetailReport2.DataSource = this.objectDataSource1; this.DetailReport2.Level = 0; this.DetailReport2.Name = "DetailReport2"; // // Detail3 // this.Detail3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel5, this.xrLabel13, this.xrLabel4, this.xrLabel2, this.xrLabel3 }); resources.ApplyResources(this.Detail3, "Detail3"); this.Detail3.KeepTogether = true; this.Detail3.MultiColumn.ColumnCount = 15; this.Detail3.MultiColumn.ColumnWidth = 60F; this.Detail3.MultiColumn.Layout = DevExpress.XtraPrinting.ColumnLayout.AcrossThenDown; this.Detail3.MultiColumn.Mode = DevExpress.XtraReports.UI.MultiColumnMode.UseColumnWidth; this.Detail3.Name = "Detail3"; // // xrLabel5 // this.xrLabel5.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Payrolls.Entitlements.AmountString", "{0:#,#}") }); resources.ApplyResources(this.xrLabel5, "xrLabel5"); this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrLabel5.StyleName = "Money"; this.xrLabel5.StylePriority.UseBorders = false; this.xrLabel5.StylePriority.UsePadding = false; this.xrLabel5.StylePriority.UseTextAlignment = false; // // xrLabel13 // this.xrLabel13.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Payrolls.calendarDays") }); resources.ApplyResources(this.xrLabel13, "xrLabel13"); this.xrLabel13.Name = "xrLabel13"; this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrLabel13.ProcessDuplicatesMode = DevExpress.XtraReports.UI.ProcessDuplicatesMode.Suppress; this.xrLabel13.StylePriority.UseBorders = false; this.xrLabel13.StylePriority.UsePadding = false; this.xrLabel13.StylePriority.UseTextAlignment = false; // // xrLabel4 // this.xrLabel4.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Payrolls.BasicAmountString", "{0:#,#}") }); resources.ApplyResources(this.xrLabel4, "xrLabel4"); this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrLabel4.ProcessDuplicatesMode = DevExpress.XtraReports.UI.ProcessDuplicatesMode.Suppress; this.xrLabel4.StyleName = "Money"; this.xrLabel4.StylePriority.UseBorders = false; this.xrLabel4.StylePriority.UsePadding = false; this.xrLabel4.StylePriority.UseTextAlignment = false; // // xrLabel2 // this.xrLabel2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Payrolls.days") }); resources.ApplyResources(this.xrLabel2, "xrLabel2"); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrLabel2.ProcessDuplicatesMode = DevExpress.XtraReports.UI.ProcessDuplicatesMode.Suppress; this.xrLabel2.StyleName = "Money"; this.xrLabel2.StylePriority.UseBorders = false; this.xrLabel2.StylePriority.UsePadding = false; this.xrLabel2.StylePriority.UseTextAlignment = false; // // xrLabel3 // this.xrLabel3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Payrolls.name") }); resources.ApplyResources(this.xrLabel3, "xrLabel3"); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrLabel3.ProcessDuplicatesMode = DevExpress.XtraReports.UI.ProcessDuplicatesMode.Suppress; this.xrLabel3.StylePriority.UseBorders = false; this.xrLabel3.StylePriority.UsePadding = false; this.xrLabel3.StylePriority.UseTextAlignment = false; // // DetailReport3 // this.DetailReport3.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail4 }); this.DetailReport3.DataMember = "Totals"; this.DetailReport3.DataSource = this.objectDataSource1; this.DetailReport3.Level = 3; this.DetailReport3.Name = "DetailReport3"; this.DetailReport3.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.DetailReport3_BeforePrint); // // Detail4 // this.Detail4.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel11, this.xrLabel10, this.xrLabel9 }); resources.ApplyResources(this.Detail4, "Detail4"); this.Detail4.MultiColumn.ColumnCount = 15; this.Detail4.MultiColumn.ColumnWidth = 60F; this.Detail4.MultiColumn.Layout = DevExpress.XtraPrinting.ColumnLayout.AcrossThenDown; this.Detail4.MultiColumn.Mode = DevExpress.XtraReports.UI.MultiColumnMode.UseColumnWidth; this.Detail4.Name = "Detail4"; // // xrLabel11 // this.xrLabel11.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); resources.ApplyResources(this.xrLabel11, "xrLabel11"); this.xrLabel11.Name = "xrLabel11"; this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrLabel11.ProcessDuplicatesMode = DevExpress.XtraReports.UI.ProcessDuplicatesMode.Suppress; this.xrLabel11.StylePriority.UseBorders = false; this.xrLabel11.StylePriority.UsePadding = false; this.xrLabel11.StylePriority.UseTextAlignment = false; // // xrLabel10 // this.xrLabel10.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalBasics", "{0:#,#}") }); resources.ApplyResources(this.xrLabel10, "xrLabel10"); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrLabel10.ProcessDuplicatesMode = DevExpress.XtraReports.UI.ProcessDuplicatesMode.Suppress; this.xrLabel10.StyleName = "Money"; this.xrLabel10.StylePriority.UseBorders = false; this.xrLabel10.StylePriority.UsePadding = false; this.xrLabel10.StylePriority.UseTextAlignment = false; // // xrLabel9 // this.xrLabel9.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Totals.amount", "{0:#,#}") }); resources.ApplyResources(this.xrLabel9, "xrLabel9"); this.xrLabel9.Name = "xrLabel9"; this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrLabel9.StyleName = "Money"; this.xrLabel9.StylePriority.UseBorders = false; this.xrLabel9.StylePriority.UsePadding = false; this.xrLabel9.StylePriority.UseTextAlignment = false; // // Money // this.Money.Name = "Money"; this.Money.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // header // this.header.Name = "header"; this.header.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleJustify; // // DetailReport4 // this.DetailReport4.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail5 }); this.DetailReport4.DataMember = "Headers"; this.DetailReport4.DataSource = this.objectDataSource1; this.DetailReport4.Level = 0; this.DetailReport4.Name = "DetailReport4"; // // Detail5 // this.Detail5.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel16 }); resources.ApplyResources(this.Detail5, "Detail5"); this.Detail5.MultiColumn.ColumnCount = 12; this.Detail5.MultiColumn.ColumnWidth = 60F; this.Detail5.MultiColumn.Layout = DevExpress.XtraPrinting.ColumnLayout.AcrossThenDown; this.Detail5.MultiColumn.Mode = DevExpress.XtraReports.UI.MultiColumnMode.UseColumnWidth; this.Detail5.Name = "Detail5"; // // xrLabel16 // this.xrLabel16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Headers.name") }); resources.ApplyResources(this.xrLabel16, "xrLabel16"); this.xrLabel16.Name = "xrLabel16"; this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel16.StylePriority.UseFont = false; this.xrLabel16.StylePriority.UseTextAlignment = false; // // PageHeader // this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel28, this.xrLabel27, this.xrLabel26, this.xrLabel25, this.xrLabel22, this.xrLabel21, this.xrLabel20, this.xrLabel19 }); resources.ApplyResources(this.PageHeader, "PageHeader"); this.PageHeader.Name = "PageHeader"; // // xrLabel28 // this.xrLabel28.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding(this.Branch, "Text", "") }); resources.ApplyResources(this.xrLabel28, "xrLabel28"); this.xrLabel28.Name = "xrLabel28"; this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel28.StylePriority.UseTextAlignment = false; // // Branch // resources.ApplyResources(this.Branch, "Branch"); this.Branch.Name = "Branch"; this.Branch.Visible = false; // // xrLabel27 // this.xrLabel27.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding(this.Ref, "Text", "") }); resources.ApplyResources(this.xrLabel27, "xrLabel27"); this.xrLabel27.Name = "xrLabel27"; this.xrLabel27.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel27.StylePriority.UseTextAlignment = false; // // Ref // resources.ApplyResources(this.Ref, "Ref"); this.Ref.Name = "Ref"; this.Ref.Visible = false; // // xrLabel26 // this.xrLabel26.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding(this.Payment, "Text", "") }); resources.ApplyResources(this.xrLabel26, "xrLabel26"); this.xrLabel26.Name = "xrLabel26"; this.xrLabel26.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel26.StylePriority.UseTextAlignment = false; // // Payment // resources.ApplyResources(this.Payment, "Payment"); this.Payment.Name = "Payment"; this.Payment.Visible = false; // // xrLabel25 // this.xrLabel25.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding(this.Department, "Text", "") }); resources.ApplyResources(this.xrLabel25, "xrLabel25"); this.xrLabel25.Name = "xrLabel25"; this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel25.StylePriority.UseTextAlignment = false; // // Department // resources.ApplyResources(this.Department, "Department"); this.Department.Name = "Department"; this.Department.Visible = false; // // xrLabel22 // resources.ApplyResources(this.xrLabel22, "xrLabel22"); this.xrLabel22.Name = "xrLabel22"; this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel22.StylePriority.UseTextAlignment = false; // // xrLabel21 // resources.ApplyResources(this.xrLabel21, "xrLabel21"); this.xrLabel21.Name = "xrLabel21"; this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel21.StylePriority.UseTextAlignment = false; // // xrLabel20 // resources.ApplyResources(this.xrLabel20, "xrLabel20"); this.xrLabel20.Name = "xrLabel20"; this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel20.StylePriority.UseTextAlignment = false; // // xrLabel19 // resources.ApplyResources(this.xrLabel19, "xrLabel19"); this.xrLabel19.Name = "xrLabel19"; this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel19.StylePriority.UseTextAlignment = false; // // xrCrossBandBox1 // this.xrCrossBandBox1.AnchorVertical = ((DevExpress.XtraReports.UI.VerticalAnchorStyles)((DevExpress.XtraReports.UI.VerticalAnchorStyles.Top | DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom))); this.xrCrossBandBox1.EndBand = this.PageHeader; resources.ApplyResources(this.xrCrossBandBox1, "xrCrossBandBox1"); this.xrCrossBandBox1.Name = "xrCrossBandBox1"; this.xrCrossBandBox1.StartBand = this.PageHeader; this.xrCrossBandBox1.WidthF = 940.625F; // // xrCrossBandLine1 // this.xrCrossBandLine1.AnchorVertical = ((DevExpress.XtraReports.UI.VerticalAnchorStyles)((DevExpress.XtraReports.UI.VerticalAnchorStyles.Top | DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom))); this.xrCrossBandLine1.EndBand = this.PageHeader; resources.ApplyResources(this.xrCrossBandLine1, "xrCrossBandLine1"); this.xrCrossBandLine1.Name = "xrCrossBandLine1"; this.xrCrossBandLine1.StartBand = this.PageHeader; this.xrCrossBandLine1.WidthF = 1.041667F; // // xrCrossBandLine2 // this.xrCrossBandLine2.AnchorVertical = ((DevExpress.XtraReports.UI.VerticalAnchorStyles)((DevExpress.XtraReports.UI.VerticalAnchorStyles.Top | DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom))); this.xrCrossBandLine2.EndBand = this.PageHeader; resources.ApplyResources(this.xrCrossBandLine2, "xrCrossBandLine2"); this.xrCrossBandLine2.Name = "xrCrossBandLine2"; this.xrCrossBandLine2.StartBand = this.PageHeader; this.xrCrossBandLine2.WidthF = 938.5417F; // // MonthlyPayroll // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.TopMargin, this.BottomMargin, this.pageFooterBand1, this.reportHeaderBand1, this.DetailReport, this.DetailReport1, this.DetailReport3, this.DetailReport4, this.PageHeader }); this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] { this.objectDataSource1 }); this.CrossBandControls.AddRange(new DevExpress.XtraReports.UI.XRCrossBandControl[] { this.xrCrossBandLine2, this.xrCrossBandLine1, this.xrCrossBandBox1 }); this.DataSource = this.objectDataSource1; resources.ApplyResources(this, "$this"); this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] { this.Department, this.Branch, this.Payment, this.Ref, this.User }); this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] { this.Title, this.FieldCaption, this.PageInfo, this.DataField, this.Money, this.header }); this.Version = "18.2"; ((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { string resourceFileName = "XtraReport1.resx"; this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand(); this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); this.lbText = new DevExpress.XtraReports.UI.XRLabel(); this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand(); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.xrCrossBandBox1 = new DevExpress.XtraReports.UI.XRCrossBandBox(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // TopMargin // this.TopMargin.Name = "TopMargin"; this.TopMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // PageFooter // this.PageFooter.HeightF = 2F; this.PageFooter.Name = "PageFooter"; // // lbText // this.lbText.Font = new System.Drawing.Font("Times New Roman", 48F); this.lbText.LocationFloat = new DevExpress.Utils.PointFloat(10.00001F, 10.00001F); this.lbText.Name = "lbText"; this.lbText.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.lbText.SizeF = new System.Drawing.SizeF(630F, 79.99999F); this.lbText.StylePriority.UseFont = false; this.lbText.StylePriority.UseTextAlignment = false; this.lbText.Text = "Sample Report"; this.lbText.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // BottomMargin // this.BottomMargin.Name = "BottomMargin"; this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.lbText }); this.Detail.Name = "Detail"; this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // PageHeader // this.PageHeader.HeightF = 2F; this.PageHeader.Name = "PageHeader"; // // xrCrossBandBox1 // this.xrCrossBandBox1.BorderWidth = 2F; this.xrCrossBandBox1.EndBand = this.PageFooter; this.xrCrossBandBox1.EndPointFloat = new DevExpress.Utils.PointFloat(2F, 2F); this.xrCrossBandBox1.LocationFloat = new DevExpress.Utils.PointFloat(2F, 0F); this.xrCrossBandBox1.Name = "xrCrossBandBox1"; this.xrCrossBandBox1.StartBand = this.PageHeader; this.xrCrossBandBox1.StartPointFloat = new DevExpress.Utils.PointFloat(2F, 0F); this.xrCrossBandBox1.WidthF = 648F; // // XtraReport1 // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.TopMargin, this.BottomMargin, this.PageHeader, this.PageFooter }); this.CrossBandControls.AddRange(new DevExpress.XtraReports.UI.XRCrossBandControl[] { this.xrCrossBandBox1 }); this.Version = "15.1"; ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }