protected void ResetUIRanges() { this.numericUpDown.Minimum = ToNudValue(Property.MinValue); this.numericUpDown.Maximum = ToNudValue(Property.MaxValue); this.slider.Minimum = ToSliderValue(Property.MinValue); this.slider.Maximum = ToSliderValue(Property.MaxValue); this.slider.TickFrequency = PropertyControlUtil.GetGoodSliderTickFrequency(this.slider); }
protected void ResetUIRanges() { this.sliderX.Minimum = ToSliderValueX(Property.MinValueX); this.sliderX.Maximum = ToSliderValueX(Property.MaxValueX); this.sliderX.TickFrequency = PropertyControlUtil.GetGoodSliderTickFrequency(this.sliderX); this.numericUpDownX.Minimum = ToNudValueX(Property.MinValueX); this.numericUpDownX.Maximum = ToNudValueX(Property.MaxValueX); this.sliderY.Minimum = ToSliderValueY(Property.MinValueY); this.sliderY.Maximum = ToSliderValueY(Property.MaxValueY); this.sliderY.TickFrequency = PropertyControlUtil.GetGoodSliderTickFrequency(this.sliderY); this.numericUpDownY.Minimum = ToNudValueY(Property.MinValueY); this.numericUpDownY.Maximum = ToNudValueY(Property.MaxValueY); }