/// <summary> /// Nastaví slider pro zůžení zadku na danou hodnotu /// </summary> /// <param name="value">hodnota od 0 do 100</param> public void setBackNarrowSlider(int value) { if (trackBarBackNarrow.InvokeRequired) { SetBackNarrowSliderCallback cb = new SetBackNarrowSliderCallback(setBackNarrowSlider); this.Invoke(cb, new object[] { value }); } else { trackBarBackNarrow.Value = value; } }
/// <summary> /// Nastaví slider pro zůžení zadku na danou hodnotu /// </summary> /// <param name="value">hodnota od 0 do 100</param> public void setBackNarrowSlider(int value) { if (trackBarBackNarrow.InvokeRequired) { SetBackNarrowSliderCallback cb = new SetBackNarrowSliderCallback(setBackNarrowSlider); this.Invoke(cb, new object[] { value }); } else { trackBarBackNarrow.Value = value; } }