private void DeterministicMethods_Load(object sender, EventArgs e)
        {
            uxTypeOfMethod2.SelectedIndex = 0;
            uxNextPrevious.SetTab(uxPages);

            uxNextPrevious.SetTab(uxPages);
            env = new ConfigurationMethod(
            this.map,
            uxTypeOfMethod2,
            uxLayer,
            uxField
             );

            uxOutputRaster1.Path = env.PathFolder;
            uxOutputRaster1.NameOutput = env.Layer + "_" + uxTypeOfMethod2.Text;

            uxNextPrevious.SelectedNext += new EventHandler(uxNextPrevious_SelectedNext);
            uxNextPrevious.SelectedPrevious += new EventHandler(uxNextPrevious_SelectedPrevious);
            uxNextPrevious.uxClose.Click += new EventHandler(uxClose_Click);

        }
Esempio n. 2
0
        private void Interpolators_Load(object sender, EventArgs e)
        {

            uxTypeOfMethod2.SelectedIndex = 0;
            uxTypeOfOutput2.SelectedIndex = 0;
            uxTransformation.SelectedIndex = 0;
            uxRemoveTrend.SelectedIndex = 0;
            zedGraphControl1.BorderStyle = BorderStyle.None;
            zedGraphControl2.BorderStyle = BorderStyle.None;

            uxNextPrevious.SetTab(uxPages);
            if (env == null)
            {
                env = new ConfigurationMethod(
                this.map,
                uxTypeOfMethod2,
                uxTypeOfOutput2,
                uxLayer,
                uxField,
                uxTransformation,
                uxRemoveTrend, this.filterByField);
                env.uxCheck = uxCheck;
            }
            else
            {
                uxDataset.Visible = false;
                env.SetParameters(this.map,
                      uxTypeOfMethod2,
                      uxTypeOfOutput2,
                      uxLayer,
                      uxField,
                      uxTransformation,
                      uxRemoveTrend,
                      this.filterByField);

            }

            uxNextPrevious.SelectedNext += new EventHandler(uxNextPrevious_SelectedNext);
            uxNextPrevious.SelectedPrevious += new EventHandler(uxNextPrevious_SelectedPrevious);
            uxNextPrevious.uxClose.Click += new EventHandler(uxClose_Click);

        }