private void InternalCounterUpdate(object sender, NumericEventArgs e)
 {
     if (e != null)
         _counter += e.Value;
     else
         _counter++;
 }
 private void InternalCounterUpdate(object sender, NumericEventArgs e)
 {
     if (e != null)
     {
         _counter += e.Value;
     }
     else
     {
         _counter++;
     }
 }
 protected virtual void HandleStroke(object sender, NumericEventArgs args)
 {
     this.Substrate.Invalidate();
 }