private void InitializeComponent()
        {
            DevExpress.XtraReports.ReportInitializer reportInitializer = new DevExpress.XtraReports.ReportInitializer(this, "AspNetCoreDemos.Reporting.Reports.FormattingRules.Report.repx");

            // Controls
            this.Detail            = reportInitializer.GetControl <DevExpress.XtraReports.UI.DetailBand>("Detail");
            this.ReportHeader      = reportInitializer.GetControl <DevExpress.XtraReports.UI.ReportHeaderBand>("ReportHeader");
            this.GroupHeader1      = reportInitializer.GetControl <DevExpress.XtraReports.UI.GroupHeaderBand>("GroupHeader1");
            this.topMarginBand1    = reportInitializer.GetControl <DevExpress.XtraReports.UI.TopMarginBand>("topMarginBand1");
            this.bottomMarginBand1 = reportInitializer.GetControl <DevExpress.XtraReports.UI.BottomMarginBand>("bottomMarginBand1");
            this.xrTable1          = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTable>("xrTable1");
            this.xrTableRow3       = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableRow>("xrTableRow3");
            this.xrTableCell13     = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("xrTableCell13");
            this.xrTableCell16     = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("xrTableCell16");
            this.xrTableCell17     = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("xrTableCell17");
            this.xrTableCell18     = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("xrTableCell18");
            this.xrTableCell20     = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("xrTableCell20");
            this.xrTableCell21     = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("xrTableCell21");
            this.xrTableCell22     = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("xrTableCell22");
            this.xrLabel1          = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRLabel>("xrLabel1");
            this.xrTable2          = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTable>("xrTable2");
            this.xrTableRow2       = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableRow>("xrTableRow2");
            this.xrTableCell9      = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("xrTableCell9");
            this.xrTableCell10     = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("xrTableCell10");
            this.xrTableCell11     = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("xrTableCell11");
            this.xrTableCell12     = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("xrTableCell12");
            this.xrTableCell14     = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("xrTableCell14");
            this.xrTableCell5      = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("xrTableCell5");
            this.xrTableCell15     = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("xrTableCell15");

            // Parameters
            this.ConditionParameter = reportInitializer.GetParameter("ConditionParameter");
            this.StyleParameter     = reportInitializer.GetParameter("StyleParameter");

            // Data Sources
            this.sqlDataSource1 = reportInitializer.GetDataSource <DevExpress.DataAccess.Sql.SqlDataSource>("sqlDataSource1");

            // Formatting Rules
            this.formattingRule1 = reportInitializer.GetFormattingRule("formattingRule1");

            // Styles
            this.oddStyle        = reportInitializer.GetStyle("oddStyle");
            this.tahomaBoldStyle = reportInitializer.GetStyle("tahomaBoldStyle");
            this.darkRedStyle    = reportInitializer.GetStyle("darkRedStyle");
            this.lightRedStyle   = reportInitializer.GetStyle("lightRedStyle");
            this.darkGreenStyle  = reportInitializer.GetStyle("darkGreenStyle");
            this.darkBlueStyle   = reportInitializer.GetStyle("darkBlueStyle");
            this.lightGreenStyle = reportInitializer.GetStyle("lightGreenStyle");
            this.lightBlueStyle  = reportInitializer.GetStyle("lightBlueStyle");
        }
예제 #2
0
        private void InitializeComponent()
        {
            DevExpress.XtraReports.ReportInitializer reportInitializer = new DevExpress.XtraReports.ReportInitializer(this, "NetSatis.Reports.DizaynFormlar.rptFaturaBarkodlu.repx");

            // Controls
            this.Detail           = reportInitializer.GetControl <DevExpress.XtraReports.UI.DetailBand>("Detail");
            this.TopMargin        = reportInitializer.GetControl <DevExpress.XtraReports.UI.TopMarginBand>("TopMargin");
            this.BottomMargin     = reportInitializer.GetControl <DevExpress.XtraReports.UI.BottomMarginBand>("BottomMargin");
            this.PageFooter       = reportInitializer.GetControl <DevExpress.XtraReports.UI.PageFooterBand>("PageFooter");
            this.PageHeader       = reportInitializer.GetControl <DevExpress.XtraReports.UI.PageHeaderBand>("PageHeader");
            this.DetailReport     = reportInitializer.GetControl <DevExpress.XtraReports.UI.DetailReportBand>("DetailReport");
            this.DetailReport1    = reportInitializer.GetControl <DevExpress.XtraReports.UI.DetailReportBand>("DetailReport1");
            this.lblAraToplam     = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRLabel>("lblAraToplam");
            this.lblKdvToplam     = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRLabel>("lblKdvToplam");
            this.lblGenelToplam   = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRLabel>("lblGenelToplam");
            this.xrLabel3         = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRLabel>("xrLabel3");
            this.xrLabel2         = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRLabel>("xrLabel2");
            this.xrLabel1         = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRLabel>("xrLabel1");
            this.lblIndirimTutari = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRLabel>("lblIndirimTutari");
            this.xrLabel6         = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRLabel>("xrLabel6");
            this.xrLabel4         = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRLabel>("xrLabel4");
            this.xrLabel5         = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRLabel>("xrLabel5");
            this.xrLabel13        = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRLabel>("xrLabel13");
            this.xrLabel12        = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRLabel>("xrLabel12");
            this.xrLabel11        = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRLabel>("xrLabel11");
            this.xrLabel10        = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRLabel>("xrLabel10");
            this.xrLabel9         = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRLabel>("xrLabel9");
            this.xrLabel8         = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRLabel>("xrLabel8");
            this.xrLabel7         = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRLabel>("xrLabel7");
            this.Detail1          = reportInitializer.GetControl <DevExpress.XtraReports.UI.DetailBand>("Detail1");
            this.xrTable1         = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTable>("xrTable1");
            this.xrTableRow1      = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableRow>("xrTableRow1");
            this.colBarkodu       = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("colBarkodu");
            this.colStokKodu      = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("colStokKodu");
            this.colStokAdi       = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("colStokAdi");
            this.colBirim         = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("colBirim");
            this.colMiktar        = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("colMiktar");
            this.colBirimFiyati   = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("colBirimFiyati");
            this.colIskonto       = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("colIskonto");
            this.colKdv           = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("colKdv");
            this.colToplamTutar   = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("colToplamTutar");
            this.Detail2          = reportInitializer.GetControl <DevExpress.XtraReports.UI.DetailBand>("Detail2");
            this.xrTable2         = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTable>("xrTable2");
            this.xrTableRow2      = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableRow>("xrTableRow2");
            this.xrTableCell1     = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("xrTableCell1");
            this.xrTableCell2     = reportInitializer.GetControl <DevExpress.XtraReports.UI.XRTableCell>("xrTableCell2");

            // Formatting Rules
            this.formattingRule1 = reportInitializer.GetFormattingRule("formattingRule1");
        }