aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/GraduatedSlider.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2014-12-22 08:08:36 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2014-12-22 08:08:36 +0100
commite8b13fbea6cab4f01af769a1246c49c588fa2f3e (patch)
tree649f51c9c995c5f0c106ce3c60bc99fd364b1368 /src/GraphicObjects/GraduatedSlider.cs
parent1753010a7b08f29f425356171f78817dc8c6e7f4 (diff)
CompilerServices for EventHandler statements in XML attributes
Improve code formatting debug
Diffstat (limited to 'src/GraphicObjects/GraduatedSlider.cs')
-rwxr-xr-x[-rw-r--r--]src/GraphicObjects/GraduatedSlider.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/GraphicObjects/GraduatedSlider.cs b/src/GraphicObjects/GraduatedSlider.cs
index 9eb0ec7a..c3de8d11 100644..100755
--- a/src/GraphicObjects/GraduatedSlider.cs
+++ b/src/GraphicObjects/GraduatedSlider.cs
@@ -8,7 +8,8 @@ using System.Xml.Serialization;
namespace go
{
public class GraduatedSlider : Slider
- {
+ {
+ #region CTOR
public GraduatedSlider() : base()
{}
public GraduatedSlider(double minimum, double maximum, double step)
@@ -19,9 +20,11 @@ namespace go
SmallIncrement = step;
LargeIncrement = step * 5;
}
- public override void DrawGraduations(Context gr, PointD pStart, PointD pEnd)
+ #endregion
+
+ protected override void DrawGraduations(Context gr, PointD pStart, PointD pEnd)
{
- Rectangle r = clientBounds;
+ Rectangle r = ClientRectangle;
gr.Color = Foreground;
gr.LineWidth = 2;