Exemplo n.º 1
0
 private void UpdateIndicator(Scale owner)
 {
     if (owner != null)
     {
         if (Value < owner.Minimum)
             Value = owner.Minimum;
         if (Value > owner.Maximum)
             Value = owner.Maximum;
     }
     UpdateIndicatorOverride(owner);
 }
Exemplo n.º 2
0
 protected override void UpdateIndicatorOverride(Scale owner)
 {
     base.UpdateIndicatorOverride(owner);
     RadialScale scale = Owner as RadialScale;
     if (scale != null)
     {
         SetIndicatorGeometry(scale, Value);
     }
 }
Exemplo n.º 3
0
 protected virtual void UpdateIndicatorOverride(Scale owner)
 {
 }