/// <summary> /// Method called on derived classes whenever the StylusPoints are replaced /// </summary> /// <param name="e">EventArgs</param> protected virtual void OnStylusPointsReplaced(StylusPointsReplacedEventArgs e) { if (null == e) { throw new ArgumentNullException("e", SR.Get(SRID.EventArgIsNull)); } if (StylusPointsReplaced != null) { StylusPointsReplaced(this, e); } }
/// <summary>Event handler for stroke data changed events</summary> private void OnStylusPointsReplaced(object sender, StylusPointsReplacedEventArgs args) { Invalidate(); }
protected virtual new void OnStylusPointsReplaced(StylusPointsReplacedEventArgs e) { }
/// <summary> /// Method called on derived classes whenever the StylusPoints are replaced /// </summary> /// <param name="e">EventArgs</param> protected virtual void OnStylusPointsReplaced(StylusPointsReplacedEventArgs e) { if (null == e) { throw new ArgumentNullException("e", SR.Get(SRID.EventArgIsNull)); } if (StylusPointsReplaced != null) StylusPointsReplaced(this, e); }