Beispiel #1
0
        void RecalculateSections()
        {
            int locY = 50;

            if (reportSettings == null)
            {
                reportSettings = host.Container.Components[1] as ICSharpCode.Reporting.Items.ReportSettings;
            }

            foreach (BaseSection section in sections)
            {
                section.Location = new Point(reportSettings.LeftMargin, locY);
                locY             = locY + section.Size.Height + DesignerGlobals.GabBetweenSection;
            }
            Control.Invalidate();
        }
		void InitializeGUI()
		{
			reportSettings = host.Container.Components[1] as ICSharpCode.Reporting.Items.ReportSettings;
			InitializeRootReportModel();
		}
		void RecalculateSections()
		{
			int locY = 50;
			if (reportSettings == null) {
				reportSettings = host.Container.Components[1] as ICSharpCode.Reporting.Items.ReportSettings;
			}
			
			foreach (BaseSection section in sections)
			{
				section.Location = new Point(reportSettings.LeftMargin,locY);
				locY = locY + section.Size.Height + DesignerGlobals.GabBetweenSection;
			}
			Control.Invalidate();
		}
Beispiel #4
0
 void InitializeGUI()
 {
     reportSettings = host.Container.Components[1] as ICSharpCode.Reporting.Items.ReportSettings;
     InitializeRootReportModel();
 }