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); } }
/// <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); } }
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(); } }