Esempio n. 1
0
        void Setup()
        {
            if (ResultsView.TargetSummaryOptions == null)
            {
                ResultsView.TargetSummaryOptions = TargetSummaryOptionsControl.GetPreferences();
            }

            TargetSummaryOptionsControl.SetFormValues(ResultsView.TargetSummaryOptions, true);
        }
Esempio n. 2
0
        private void OK_Click(object sender, EventArgs e)
        {
            if (!TargetSummaryOptionsControl.GetFormValues(ResultsView.TargetSummaryOptions))
            {
                return;
            }

            TargetSummaryOptionsControl.SavePreferences(ResultsView.TargetSummaryOptions);

            ResultsView.ConfigureRenderingControl();             // update the view

            DialogResult = DialogResult.OK;
            return;
        }