示例#1
0
        private void sliderZoneColour_ValueChanged(object sender, EventArgs e)
        {
            var value = this.sliderZoneColour.Value / 10;

            if (graphicsProperties != null)
            {
                graphicsProperties.ChangeColor(value);
            }
        }
示例#2
0
 private void sliderColour_ValueChanged(object sender, EventArgs e)
 {
     if (invokeColorChange)
     {
         var value = (int)(this.sliderColour.Value / 10f);
         if (graphicsProperties != null)
         {
             graphicsProperties.ChangeColor(value);
         }
     }
 }
示例#3
0
 private void sliderColour_ValueChanged(object sender, EventArgs e)
 {
     if (invokeColorChange)
     {
         var value = this.sliderColour.Value / 10;
         if (graphicsProperties != null)
         {
             graphicsProperties.ChangeColor(value);
             this.pictureBox.Invalidate();
         }
     }
 }