private void tccColorRange_ColorChanged(object sender, ColorRangeEventArgs e)
 {
     if (_ignoreRefresh) return;
     FeatureEditorSettings settings = _newScheme.EditorSettings;
     settings.StartColor = e.StartColor;
     settings.EndColor = e.EndColor;
     settings.UseColorRange = e.UseColorRange;
     settings.HueShift = e.HueShift;
     settings.HueSatLight = e.HSL;
     featureSizeRangeControl1.UpdateControls();
 }
 private void tccColorRange_ColorChanged(object sender, ColorRangeEventArgs e)
 {
     if (_ignoreRefresh) return;
     RasterEditorSettings settings = _newScheme.EditorSettings;
     settings.StartColor = e.StartColor;
     settings.EndColor = e.EndColor;
     settings.UseColorRange = e.UseColorRange;
     settings.HueShift = e.HueShift;
     settings.HueSatLight = e.HSL;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of this control using the specified values.
 /// </summary>
 /// <param name="args">The ColorRangeEventArgs that stores the initial values.</param>
 public void Initialize(ColorRangeEventArgs args)
 {
     _endColor = args.EndColor;
     _hsl = args.HSL;
     _hueShift = args.HueShift;
     _startColor = args.StartColor;
     chkUseColorRange.Checked = args.UseColorRange;
     SetStartHSL();
     SetEndHSL();
     UpdateControls();
 }