コード例 #1
0
        private void button_setting_Click(object sender, EventArgs e)
        {
            OptionVizardBuilder builder = new OptionVizardBuilder();

            builder.SetAll(false).SetIsShowObsAndApproxOptionPage(true).SetIsShowCycleSlipOptionPage(true).SetIsShowStreamOptionPage(true);

            Option.ObsDataType = enumRadioControl1.GetCurrent <SatObsDataType>();

            var form = new OptionVizardForm(this.Option);

            form.Init(builder);
            if (form.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                this.Option = form.Option;
                enumRadioControl1.SetCurrent <SatObsDataType>(Option.ObsDataType);
            }
        }
コード例 #2
0
        /// <summary>
        /// 响应界面
        /// </summary>
        protected virtual void DetailSetting()
        {
            this.CheckOrBuildGnssOption();
            this.UiToOption();

            OptionVizardForm form = new OptionVizardForm(Option);

            form.Init();
            if (form.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                this.Option = form.Option;
                this.directorySelectionControl1.Path = this.Option.OutputDirectory;

                multiGnssSystemSelectControl1.SetSatelliteTypes(this.Option.SatelliteTypes);
                OptionToUi(Option);

                OnOptionChanged(this.Option);
            }
        }
コード例 #3
0
ファイル: CycleSlipDetectForm.cs プロジェクト: yxw027/GNSSer
        private void button_setting_Click(object sender, EventArgs e)
        {
            OptionVizardBuilder builder = new OptionVizardBuilder();

            builder.SetAll(false)
            .SetIsShowCycleSlipOptionPage(true)
            .SetIsShowObsAndApproxOptionPage(true)
            .SetIsShowStreamOptionPage(true);

            UiToEntity();
            var form = new OptionVizardForm(this.Option);

            form.Init(builder);
            if (form.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                this.Option = form.Option;

                EntityToUi();
            }
        }