コード例 #1
0
        public void InitComponents(ControlCollection pageHeaderControls,
                                   ControlCollection detailControls,
                                   ControlCollection kubunFooterControls,
                                   ControlCollection reportFooterControls,
                                   DataDynamics.ActiveReports.TextBox txtKisanbi_,
                                   DataDynamics.ActiveReports.TextBox txtKimatsubi_,
                                   DataDynamics.ActiveReports.TextBox txtHoujinMei_,
                                   DataDynamics.ActiveReports.TextBox txtKubunName_,
                                   DataDynamics.ActiveReports.TextBox txtDaikubunName_,
                                   DataDynamics.ActiveReports.TextBox txtKamokuCode_,
                                   DataDynamics.ActiveReports.TextBox txtKamoku_,
                                   DataDynamics.ActiveReports.TextBox txtKamokuId_,
                                   DataDynamics.ActiveReports.TextBox txtDaikubunId_,
                                   DataDynamics.ActiveReports.TextBox txtKubunId_,
                                   DataDynamics.ActiveReports.Label txtShisyutsuKeiCaption_,
                                   DataDynamics.ActiveReports.Label txtSyuunyuuKeiCaption_,
                                   DataDynamics.ActiveReports.Label labelTitle_,
                                   DataDynamics.ActiveReports.Label labelYoushiki_)
        {
            // コンポーネント配列の作成
            txtColCaptions   = helper.View.CreateTextboxArray(pageHeaderControls, "txtColCaption", NumCols);
            txtDetailCols    = helper.View.CreateTextboxArray(detailControls, "txtCol", NumCols);
            txtSyuunyuuCols  = helper.View.CreateTextboxArray(kubunFooterControls, "txtSyuunyuuKeiCol", NumCols);
            txtShisyutsuCols = helper.View.CreateTextboxArray(kubunFooterControls, "txtShisyutsuKeiCol", NumCols);
            //txtYobihiCols = helper.View.CreateTextboxArray(reportFooterControls, "txtYobihiCol", NumCols);
            txtToukiCols        = helper.View.CreateTextboxArray(reportFooterControls, "txtToukiCol", NumCols);
            txtZenkiCols        = helper.View.CreateTextboxArray(reportFooterControls, "txtZenkiCol", NumCols);
            txtToukiZandakaCols = helper.View.CreateTextboxArray(reportFooterControls, "txtToukiZandakaCol", NumCols);

            txtKisanbi             = txtKisanbi_;
            txtKimatsubi           = txtKimatsubi_;
            txtHoujinMei           = txtHoujinMei_;
            txtKubunName           = txtKubunName_;
            txtDaikubunName        = txtDaikubunName_;
            txtKamokuCode          = txtKamokuCode_;
            txtKamoku              = txtKamoku_;
            txtKamokuId            = txtKamokuId_;
            txtDaikubunId          = txtDaikubunId_;
            txtKubunId             = txtKubunId_;
            txtShisyutsuKeiCaption = txtShisyutsuKeiCaption_;
            txtSyuunyuuKeiCaption  = txtSyuunyuuKeiCaption_;
            labelTitle             = labelTitle_;
            labelYoushiki          = labelYoushiki_;

            beforeSyuunyuuCols = new long[NumCols];
        }
コード例 #2
0
        public void InitComponents(ControlCollection pageHeaderControls,
                                   ControlCollection detailControls,
                                   ControlCollection kubunFooterControls,
                                   ControlCollection reportFooterControls,
                                   DataDynamics.ActiveReports.TextBox txtKisanbi_,
                                   DataDynamics.ActiveReports.TextBox txtKimatsubi_,
                                   DataDynamics.ActiveReports.TextBox txtHoujinMei_,
                                   DataDynamics.ActiveReports.TextBox txtKubunName_,
                                   DataDynamics.ActiveReports.TextBox txtDaikubunName_,
                                   DataDynamics.ActiveReports.TextBox txtKamokuCode_,
                                   DataDynamics.ActiveReports.TextBox txtKamoku_,
                                   DataDynamics.ActiveReports.TextBox txtKamokuId_,
                                   DataDynamics.ActiveReports.TextBox txtDaikubunId_,
                                   DataDynamics.ActiveReports.TextBox txtKubunId_,
                                   DataDynamics.ActiveReports.Label txtSyuunyuuKeiCaption_,
                                   DataDynamics.ActiveReports.Label labelTitle_,
                                   DataDynamics.ActiveReports.Label labelYoushiki_)
        {
            // コンポーネント配列の作成
            txtColCaptions     = helper.View.CreateTextboxArray(pageHeaderControls, "txtColCaption", NumCols);
            txtToukiCols       = helper.View.CreateTextboxArray(reportFooterControls, "txtTouki", NumCols);
            txtZenkiCols       = helper.View.CreateTextboxArray(reportFooterControls, "txtZenki", NumCols);
            txtToukimatsuCols  = helper.View.CreateTextboxArray(reportFooterControls, "txtToukimatsu", NumCols);
            txtKihonkinCols    = helper.View.CreateTextboxArray(reportFooterControls, "txtKihonkin", NumCols);
            txtTorikuzushiCols = helper.View.CreateTextboxArray(reportFooterControls, "txtTorikuzushi", NumCols);
            txtTsumitateCols   = helper.View.CreateTextboxArray(reportFooterControls, "txtTsumitate", NumCols);
            txtJikiCols        = helper.View.CreateTextboxArray(reportFooterControls, "txtJiki", NumCols);

            txtKisanbi            = txtKisanbi_;
            txtKimatsubi          = txtKimatsubi_;
            txtHoujinMei          = txtHoujinMei_;
            txtKubunName          = txtKubunName_;
            txtDaikubunName       = txtDaikubunName_;
            txtKamokuCode         = txtKamokuCode_;
            txtKamoku             = txtKamoku_;
            txtKamokuId           = txtKamokuId_;
            txtDaikubunId         = txtDaikubunId_;
            txtKubunId            = txtKubunId_;
            txtSyuunyuuKeiCaption = txtSyuunyuuKeiCaption_;
            labelTitle            = labelTitle_;
            labelYoushiki         = labelYoushiki_;
        }
コード例 #3
0
        void rptFileReport_ReportStart(object sender, EventArgs e)
        {
            //Căn kích thước của ReportHeader
            foreach (ARControl arControl in this.reportHeader.Controls)
            {
                if (arControl.Tag != null && arControl.Tag.ToString().ToUpper() == "SUBTITLE2")
                {
                    DataDynamics.ActiveReports.Label lblSubTitle2 = (DataDynamics.ActiveReports.Label)arControl;
                    if (lblSubTitle2.Text.Trim() != string.Empty)
                    {
                        System.Windows.Forms.Label lblMeasure = new System.Windows.Forms.Label();
                        lblMeasure.Font = lblSubTitle2.Font;

                        float fHeight;
                        fHeight             = lblMeasure.CreateGraphics().MeasureString(lblSubTitle2.Text, lblMeasure.Font).Height;
                        lblSubTitle2.Height = (float)fHeight / 100 + 0.1F;
                    }
                    //    this.reportHeader.Height = lblSubTitle2.Location.Y + lblSubTitle2.Height;
                    //}
                    //else
                    //    this.reportHeader.Height = lblSubTitle2.Location.Y;
                }
            }

            foreach (ARControl arControl in this.detail.Controls)
            {
                if (arControl.GetType().Name == "Line")
                {
                    Line line = (Line)arControl;
                    line.AnchorBottom = true;
                    if ((line.X1 != line.X2) && (line.Y1 == line.Y2))
                    {
                        dicLineBar[arControl.GetType().Name] = (Line)arControl;
                    }
                }
            }
        }
コード例 #4
0
 public void InitializeReport()
 {
     this.LoadLayout(this.GetType(), "Reports.rptFDICTraining.rpx");
     this.ds           = ((DataDynamics.ActiveReports.DataSources.OleDBDataSource)(this.DataSource));
     this.PageHeader   = ((DataDynamics.ActiveReports.PageHeader)(this.Sections["PageHeader"]));
     this.GroupHeader1 = ((DataDynamics.ActiveReports.GroupHeader)(this.Sections["GroupHeader1"]));
     this.Detail       = ((DataDynamics.ActiveReports.Detail)(this.Sections["Detail"]));
     this.GroupFooter1 = ((DataDynamics.ActiveReports.GroupFooter)(this.Sections["GroupFooter1"]));
     this.PageFooter   = ((DataDynamics.ActiveReports.PageFooter)(this.Sections["PageFooter"]));
     this.Picture      = ((DataDynamics.ActiveReports.Picture)(this.PageHeader.Controls[0]));
     this.Label        = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[1]));
     this.Label1       = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[2]));
     this.Label2       = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[3]));
     this.lblEeName    = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[4]));
     this.lblEeNumber  = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[5]));
     this.Label3       = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[6]));
     this.lblSsn       = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[7]));
     this.Label5       = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[8]));
     this.lblEePhone   = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[9]));
     this.Line         = ((DataDynamics.ActiveReports.Line)(this.PageHeader.Controls[10]));
     this.Label7       = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[11]));
     this.Label8       = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[12]));
     this.Label9       = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[13]));
     this.Label10      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[14]));
     this.Label11      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[15]));
     this.Label12      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[16]));
     this.Label13      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[17]));
     this.Label14      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[18]));
     this.Label15      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[19]));
     this.Label16      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[20]));
     this.Label17      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[21]));
     this.Label18      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[22]));
     this.Label19      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[23]));
     this.Label20      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[24]));
     this.Label21      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[25]));
     this.Label22      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[26]));
     this.lblWebSite   = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[27]));
     this.Label24      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[28]));
     this.Label25      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[29]));
     this.Label26      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[30]));
     this.Label27      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[31]));
     this.Label28      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[32]));
     this.Label29      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[33]));
     this.Label30      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[34]));
     this.Label31      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[35]));
     this.Label34      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[36]));
     this.Label35      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[37]));
     this.Label36      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[38]));
     this.Label37      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[39]));
     this.Label38      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[40]));
     this.Label39      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[41]));
     this.Label40      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[42]));
     this.Label41      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[43]));
     this.Label42      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[44]));
     this.Label43      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[45]));
     this.Label44      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[46]));
     this.Label45      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[47]));
     this.TextBox7     = ((DataDynamics.ActiveReports.TextBox)(this.PageHeader.Controls[48]));
     this.TextBox8     = ((DataDynamics.ActiveReports.TextBox)(this.PageHeader.Controls[49]));
     this.Line2        = ((DataDynamics.ActiveReports.Line)(this.PageHeader.Controls[50]));
     this.Label4       = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[51]));
     this.Label46      = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[0]));
     this.Label47      = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[1]));
     this.Label48      = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[2]));
     this.Label49      = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[3]));
     this.TextBox      = ((DataDynamics.ActiveReports.TextBox)(this.Detail.Controls[0]));
     this.TextBox1     = ((DataDynamics.ActiveReports.TextBox)(this.Detail.Controls[1]));
     this.TextBox2     = ((DataDynamics.ActiveReports.TextBox)(this.Detail.Controls[2]));
     this.TextBox3     = ((DataDynamics.ActiveReports.TextBox)(this.Detail.Controls[3]));
     this.Line1        = ((DataDynamics.ActiveReports.Line)(this.GroupFooter1.Controls[0]));
     this.Label50      = ((DataDynamics.ActiveReports.Label)(this.GroupFooter1.Controls[1]));
     this.TextBox4     = ((DataDynamics.ActiveReports.TextBox)(this.GroupFooter1.Controls[2]));
     this.TextBox5     = ((DataDynamics.ActiveReports.TextBox)(this.GroupFooter1.Controls[3]));
     this.TextBox6     = ((DataDynamics.ActiveReports.TextBox)(this.GroupFooter1.Controls[4]));
 }
コード例 #5
0
        public void ApplyStyle()
        {
            int i, j;

            DataDynamics.ActiveReports.ARControl arc;

            #region Apply Style on Report

            //设置Margins.Left和Margins.Right,使报表内容居中
            if (this.PageSettings.Orientation.Equals(PageOrientation.Landscape))
            {
                this.PageSettings.Margins.Left = (this.PageSettings.PaperHeight - this.PrintWidth) / 2;
            }
            else
            {
                this.PageSettings.Margins.Left = (this.PageSettings.PaperWidth - this.PrintWidth) / 2;
            }
            this.PageSettings.Margins.Right = this.PageSettings.Margins.Left;

            for (j = 0; j < this.Sections.Count; j++)
            {
                for (i = 0; i < this.Sections[j].Controls.Count; i++)
                {
                    arc = (DataDynamics.ActiveReports.ARControl) this.Sections[j].Controls[i];
                    if (arc is DataDynamics.ActiveReports.TextBox)
                    {
                        DataDynamics.ActiveReports.TextBox tb = (DataDynamics.ActiveReports.TextBox)arc;
                        switch (tb.ClassName)
                        {
                        case "Heading1":
                            tb.Font = ftHeading1;
                            break;

                        case "Heading2":
                            tb.Font = ftHeading2;
                            break;

                        case "Heading3":
                            tb.Font = ftHeading3;
                            break;

                        case "Normal":
                            tb.Font = ftNormal;
                            break;
                        }
                    }
                    else if (arc is DataDynamics.ActiveReports.Label)
                    {
                        DataDynamics.ActiveReports.Label lb = (DataDynamics.ActiveReports.Label)arc;
                        switch (lb.ClassName)
                        {
                        case "Heading1":
                            lb.Font = ftHeading1;
                            //设置Heading1居中
                            lb.Left = 0;
                            lb.Top  = 0;
                            if (this.PageSettings.Orientation.Equals(PageOrientation.Landscape))
                            {
                                lb.Width = this.PageSettings.PaperHeight - this.PageSettings.Margins.Left - this.PageSettings.Margins.Right;
                            }
                            else
                            {
                                lb.Width = this.PageSettings.PaperWidth - this.PageSettings.Margins.Left - this.PageSettings.Margins.Right;
                            }
                            lb.Alignment = TextAlignment.Center;
                            break;

                        case "Heading2":
                            lb.Font = ftHeading2;
                            break;

                        case "Heading3":
                            lb.Font = ftHeading3;
                            break;

                        case "Normal":
                            lb.Font = ftNormal;
                            break;
                        }
                    }
                }
            }
            #endregion
        }
コード例 #6
0
 public void InitializeReport()
 {
     this.LoadLayout(this.GetType(), "Reports.rptFDICTraining.rpx");
     this.ds           = ((DataDynamics.ActiveReports.DataSources.OleDBDataSource)(this.DataSource));
     this.ReportHeader = ((DataDynamics.ActiveReports.ReportHeader)(this.Sections["ReportHeader"]));
     this.PageHeader   = ((DataDynamics.ActiveReports.PageHeader)(this.Sections["PageHeader"]));
     this.GroupHeader1 = ((DataDynamics.ActiveReports.GroupHeader)(this.Sections["GroupHeader1"]));
     this.Detail       = ((DataDynamics.ActiveReports.Detail)(this.Sections["Detail"]));
     this.GroupFooter1 = ((DataDynamics.ActiveReports.GroupFooter)(this.Sections["GroupFooter1"]));
     this.PageFooter   = ((DataDynamics.ActiveReports.PageFooter)(this.Sections["PageFooter"]));
     this.ReportFooter = ((DataDynamics.ActiveReports.ReportFooter)(this.Sections["ReportFooter"]));
     this.Label57      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[0]));
     this.Label58      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[1]));
     this.Label59      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[2]));
     this.Label60      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[3]));
     this.Label61      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[4]));
     this.Label62      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[5]));
     this.Label63      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[6]));
     this.Label64      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[7]));
     this.Line3        = ((DataDynamics.ActiveReports.Line)(this.ReportHeader.Controls[8]));
     this.Label65      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[9]));
     this.Label66      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[10]));
     this.Label67      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[11]));
     this.Label68      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[12]));
     this.Label69      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[13]));
     this.Label70      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[14]));
     this.Label71      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[15]));
     this.Label72      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[16]));
     this.Label73      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[17]));
     this.Label74      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[18]));
     this.Label75      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[19]));
     this.Label76      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[20]));
     this.Label77      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[21]));
     this.Label78      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[22]));
     this.Label79      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[23]));
     this.Label80      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[24]));
     this.Label81      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[25]));
     this.Label82      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[26]));
     this.Label83      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[27]));
     this.Label84      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[28]));
     this.Label85      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[29]));
     this.Label86      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[30]));
     this.TextBox9     = ((DataDynamics.ActiveReports.TextBox)(this.ReportHeader.Controls[31]));
     this.TextBox10    = ((DataDynamics.ActiveReports.TextBox)(this.ReportHeader.Controls[32]));
     this.Label87      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[33]));
     this.Label88      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[34]));
     this.Label89      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[35]));
     this.Label90      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[36]));
     this.Label91      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[37]));
     this.Line4        = ((DataDynamics.ActiveReports.Line)(this.ReportHeader.Controls[38]));
     this.Label92      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[39]));
     this.Label93      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[40]));
     this.Label94      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[41]));
     this.Label95      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[42]));
     this.Label96      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[43]));
     this.Label97      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[44]));
     this.Label98      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[45]));
     this.Label99      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[46]));
     this.Label100     = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[47]));
     this.Label101     = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[48]));
     this.Label102     = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[49]));
     this.Label103     = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[50]));
     this.Label104     = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[51]));
     this.Label105     = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[52]));
     this.Label106     = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[53]));
     this.Label107     = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[54]));
     this.Label108     = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[55]));
     this.Label109     = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[56]));
     this.Label110     = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[57]));
     this.Label111     = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[58]));
     this.Label2       = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[59]));
     this.Label1       = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[60]));
     this.Label14      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[61]));
     this.Label15      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[62]));
     this.Label16      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[63]));
     this.Label17      = ((DataDynamics.ActiveReports.Label)(this.ReportHeader.Controls[64]));
     this.Picture1     = ((DataDynamics.ActiveReports.Picture)(this.ReportHeader.Controls[65]));
     this.Picture2     = ((DataDynamics.ActiveReports.Picture)(this.ReportHeader.Controls[66]));
     this.Label4       = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[0]));
     this.Label        = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[1]));
     this.Label3       = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[2]));
     this.Label6       = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[3]));
     this.Label7       = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[4]));
     this.Label8       = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[5]));
     this.Label9       = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[6]));
     this.Label10      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[7]));
     this.Label11      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[8]));
     this.Label12      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[9]));
     this.Label13      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[10]));
     this.Line         = ((DataDynamics.ActiveReports.Line)(this.PageHeader.Controls[11]));
     this.Label18      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[12]));
     this.Label19      = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[13]));
     this.Picture      = ((DataDynamics.ActiveReports.Picture)(this.PageHeader.Controls[14]));
     this.Picture3     = ((DataDynamics.ActiveReports.Picture)(this.PageHeader.Controls[15]));
     this.Label46      = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[0]));
     this.Label47      = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[1]));
     this.Label48      = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[2]));
     this.Label49      = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[3]));
     this.Label5       = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[4]));
     this.TextBox      = ((DataDynamics.ActiveReports.TextBox)(this.Detail.Controls[0]));
     this.TextBox1     = ((DataDynamics.ActiveReports.TextBox)(this.Detail.Controls[1]));
     this.TextBox2     = ((DataDynamics.ActiveReports.TextBox)(this.Detail.Controls[2]));
     this.TextBox3     = ((DataDynamics.ActiveReports.TextBox)(this.Detail.Controls[3]));
     this.TextBox7     = ((DataDynamics.ActiveReports.TextBox)(this.Detail.Controls[4]));
     this.Line1        = ((DataDynamics.ActiveReports.Line)(this.GroupFooter1.Controls[0]));
     this.Label50      = ((DataDynamics.ActiveReports.Label)(this.GroupFooter1.Controls[1]));
     this.TextBox4     = ((DataDynamics.ActiveReports.TextBox)(this.GroupFooter1.Controls[2]));
     this.TextBox5     = ((DataDynamics.ActiveReports.TextBox)(this.GroupFooter1.Controls[3]));
     this.TextBox6     = ((DataDynamics.ActiveReports.TextBox)(this.GroupFooter1.Controls[4]));
 }
コード例 #7
0
ファイル: rptInvoiceNL_CN7.cs プロジェクト: orlyjamie/JKS
 public void InitializeReport()
 {
     this.LoadLayout(this.GetType(), "CBSolutions.ETH.Web.GMGRadio.creditnotes.rptInvoiceNL_CN.rpx");
     this.PageHeader              = ((DataDynamics.ActiveReports.PageHeader)(this.Sections["PageHeader"]));
     this.GroupHeader1            = ((DataDynamics.ActiveReports.GroupHeader)(this.Sections["GroupHeader1"]));
     this.Detail                  = ((DataDynamics.ActiveReports.Detail)(this.Sections["Detail"]));
     this.GroupFooter1            = ((DataDynamics.ActiveReports.GroupFooter)(this.Sections["GroupFooter1"]));
     this.PageFooter              = ((DataDynamics.ActiveReports.PageFooter)(this.Sections["PageFooter"]));
     this.Label23                 = ((DataDynamics.ActiveReports.Label)(this.PageHeader.Controls[0]));
     this.Shape1                  = ((DataDynamics.ActiveReports.Shape)(this.GroupHeader1.Controls[0]));
     this.TextBox1                = ((DataDynamics.ActiveReports.TextBox)(this.GroupHeader1.Controls[1]));
     this.TextBox2                = ((DataDynamics.ActiveReports.TextBox)(this.GroupHeader1.Controls[2]));
     this.TextBox3                = ((DataDynamics.ActiveReports.TextBox)(this.GroupHeader1.Controls[3]));
     this.Label1                  = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[4]));
     this.Label2                  = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[5]));
     this.Label3                  = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[6]));
     this.Label5                  = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[7]));
     this.Label6                  = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[8]));
     this.Label8                  = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[9]));
     this.Label9                  = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[10]));
     this.TextBox6                = ((DataDynamics.ActiveReports.TextBox)(this.GroupHeader1.Controls[11]));
     this.TextBox7                = ((DataDynamics.ActiveReports.TextBox)(this.GroupHeader1.Controls[12]));
     this.TextBox8                = ((DataDynamics.ActiveReports.TextBox)(this.GroupHeader1.Controls[13]));
     this.TextBox9                = ((DataDynamics.ActiveReports.TextBox)(this.GroupHeader1.Controls[14]));
     this.Label10                 = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[15]));
     this.Label11                 = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[16]));
     this.Label13                 = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[17]));
     this.Label15                 = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[18]));
     this.Label16                 = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[19]));
     this.Label17                 = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[20]));
     this.Label18                 = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[21]));
     this.Label19                 = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[22]));
     this.Label20                 = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[23]));
     this.Label21                 = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[24]));
     this.TextBox19               = ((DataDynamics.ActiveReports.TextBox)(this.GroupHeader1.Controls[25]));
     this.TextBox20               = ((DataDynamics.ActiveReports.TextBox)(this.GroupHeader1.Controls[26]));
     this.TextBox21               = ((DataDynamics.ActiveReports.TextBox)(this.GroupHeader1.Controls[27]));
     this.Label22                 = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[28]));
     this.Label27                 = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[29]));
     this.TextBox25               = ((DataDynamics.ActiveReports.TextBox)(this.GroupHeader1.Controls[30]));
     this.Label28                 = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[31]));
     this.Label29                 = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[32]));
     this.Label30                 = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[33]));
     this.Label32                 = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[34]));
     this.txtAssociatedInvoiceNo  = ((DataDynamics.ActiveReports.TextBox)(this.GroupHeader1.Controls[35]));
     this.lblSecondDisc           = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[36]));
     this.lblSettlementDay        = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[37]));
     this.txtSettlementDay        = ((DataDynamics.ActiveReports.TextBox)(this.GroupHeader1.Controls[38]));
     this.lblOverallDiscount      = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[39]));
     this.txtOverallDiscount      = ((DataDynamics.ActiveReports.TextBox)(this.GroupHeader1.Controls[40]));
     this.lblBuyerCompany         = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[41]));
     this.txtBuyerCompany         = ((DataDynamics.ActiveReports.TextBox)(this.GroupHeader1.Controls[42]));
     this.lblSupplierCompany      = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[43]));
     this.txtSupplierCompany      = ((DataDynamics.ActiveReports.TextBox)(this.GroupHeader1.Controls[44]));
     this.txtCustomerContact      = ((DataDynamics.ActiveReports.TextBox)(this.GroupHeader1.Controls[45]));
     this.lblCustomerContact      = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[46]));
     this.lblInvoiceName          = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[47]));
     this.txtInvoiceName          = ((DataDynamics.ActiveReports.TextBox)(this.GroupHeader1.Controls[48]));
     this.lblSecondSettlementDays = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[49]));
     this.txtSecondSettlementDays = ((DataDynamics.ActiveReports.TextBox)(this.GroupHeader1.Controls[50]));
     this.Label73                 = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[51]));
     this.txtSettlementDiscount2  = ((DataDynamics.ActiveReports.TextBox)(this.GroupHeader1.Controls[52]));
     this.Label74                 = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[53]));
     this.lblPaymentDate          = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[54]));
     this.lblPaymentMethod        = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[55]));
     this.txtPaymentDate          = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[56]));
     this.txtPaymentMethod        = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[57]));
     this.lblDiscountGiven        = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[58]));
     this.txtDiscountGiven        = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[59]));
     this.Line3                  = ((DataDynamics.ActiveReports.Line)(this.GroupHeader1.Controls[60]));
     this.Line4                  = ((DataDynamics.ActiveReports.Line)(this.GroupHeader1.Controls[61]));
     this.Label76                = ((DataDynamics.ActiveReports.Label)(this.GroupHeader1.Controls[62]));
     this.TextBox10              = ((DataDynamics.ActiveReports.TextBox)(this.Detail.Controls[0]));
     this.TextBox12              = ((DataDynamics.ActiveReports.TextBox)(this.Detail.Controls[1]));
     this.TextBox13              = ((DataDynamics.ActiveReports.TextBox)(this.Detail.Controls[2]));
     this.TextBox15              = ((DataDynamics.ActiveReports.TextBox)(this.Detail.Controls[3]));
     this.TextBox16              = ((DataDynamics.ActiveReports.TextBox)(this.Detail.Controls[4]));
     this.TextBox17              = ((DataDynamics.ActiveReports.TextBox)(this.Detail.Controls[5]));
     this.TextBox18              = ((DataDynamics.ActiveReports.TextBox)(this.Detail.Controls[6]));
     this.TextBox26              = ((DataDynamics.ActiveReports.TextBox)(this.Detail.Controls[7]));
     this.TextBox27              = ((DataDynamics.ActiveReports.TextBox)(this.Detail.Controls[8]));
     this.TextBox28              = ((DataDynamics.ActiveReports.TextBox)(this.Detail.Controls[9]));
     this.txtSecondDiscount      = ((DataDynamics.ActiveReports.TextBox)(this.Detail.Controls[10]));
     this.TextBox29              = ((DataDynamics.ActiveReports.TextBox)(this.Detail.Controls[11]));
     this.txtColor               = ((DataDynamics.ActiveReports.TextBox)(this.Detail.Controls[12]));
     this.Label24                = ((DataDynamics.ActiveReports.Label)(this.GroupFooter1.Controls[0]));
     this.TextBox22              = ((DataDynamics.ActiveReports.TextBox)(this.GroupFooter1.Controls[1]));
     this.TextBox23              = ((DataDynamics.ActiveReports.TextBox)(this.GroupFooter1.Controls[2]));
     this.Label25                = ((DataDynamics.ActiveReports.Label)(this.GroupFooter1.Controls[3]));
     this.Label26                = ((DataDynamics.ActiveReports.Label)(this.GroupFooter1.Controls[4]));
     this.TextBox24              = ((DataDynamics.ActiveReports.TextBox)(this.GroupFooter1.Controls[5]));
     this.Line2                  = ((DataDynamics.ActiveReports.Line)(this.GroupFooter1.Controls[6]));
     this.lblGBPEquivalentAmount = ((DataDynamics.ActiveReports.Label)(this.GroupFooter1.Controls[7]));
     this.tblGBPEquivalentAmount = ((DataDynamics.ActiveReports.TextBox)(this.GroupFooter1.Controls[8]));
     this.Label71                = ((DataDynamics.ActiveReports.Label)(this.PageFooter.Controls[0]));
     // Attach Report Events
     this.DataInitialize += new System.EventHandler(this.rptInvoice_DataInitialize);
     this.FetchData      += new DataDynamics.ActiveReports.ActiveReport.FetchEventHandler(this.rptInvoice_FetchData);
 }