Exemple #1
0
        /// <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)
 {
 }
Exemple #4
0
        /// <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);
        } 
Exemple #5
0
 protected virtual new void OnStylusPointsReplaced(StylusPointsReplacedEventArgs e)
 {
 }