Exemplo n.º 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);
            }
        }
Exemplo n.º 2
0
        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();
            }
        }