private void OnChangeFittingReportSettings(object sender, EventArgs e)
        {
            if (settings == null)
            {
                generateDefaultFormatData();
            }

            PartialReportSettingsDlg fittingReportSettingsDlg = new PartialReportSettingsDlg();

            fittingReportSettingsDlg.initializeData(PartialReportSettingsDlgType.Fitting, settings);

            fittingReportSettingsDlg.Text = ReportResource.fittingSettings;
            if (fittingReportSettingsDlg.ShowDialog() == DialogResult.OK)
            {
                fittingReportSettingsDlg.Close();
            }
        }
        private void OnChangeSegmentReportSettings(object sender, EventArgs e)
        {
            if (settings == null)
            generateDefaultFormatData();

             PartialReportSettingsDlg segmentReportSettingsDlg = new PartialReportSettingsDlg();
             segmentReportSettingsDlg.initializeData(PartialReportSettingsDlgType.Segment, settings);

             segmentReportSettingsDlg.Text = ReportResource.segmentSettings;
             if (segmentReportSettingsDlg.ShowDialog() == DialogResult.OK)
             {
            segmentReportSettingsDlg.Close();
             }
        }