Esempio n. 1
0
 /// <summary>
 /// Creates a new instance of GradientControl
 /// </summary>
 public GradientSlider()
 {
     _min                  = 0F;
     _max                  = 1F;
     _leftHandle           = new RoundedHandle(this);
     _leftHandle.Position  = .2F;
     _rightHandle          = new RoundedHandle(this);
     _rightHandle.Position = .8F;
     _minColor             = Color.Transparent;
     _maxColor             = Color.Blue;
 }
Esempio n. 2
0
 /// <summary>
 /// Creates a new instance of GradientControl
 /// </summary>
 public GradientSlider()
 {
     _min = 0F;
     _max = 1F;
     _leftHandle = new RoundedHandle(this);
     _leftHandle.Position = .2F;
     _rightHandle = new RoundedHandle(this);
     _rightHandle.Position = .8F;
     _minColor = Color.Transparent;
     _maxColor = Color.Blue;
 }