private void ConfigSearchControl(IInterpolator inter) { uxSearchNeighborhoodControl1.MajorR = inter.GetSearch().InitialDistanceSearch; uxSearchNeighborhoodControl1.MinorR = inter.GetSearch().InitialDistanceSearch; uxSearchNeighborhoodControl1.Type = 1; uxSearchNeighborhoodControl1.Az = 0; uxSearchNeighborhoodControl1.SetSearch(inter.GetSearch()); uxSearchNeighborhoodControl1.ChangedParameters += new EventHandler(uxSearchNeighborhoodControl1_ChangedParameters); uxSearchNeighborhoodControl1.EnableApply(false); }