示例#1
0
 /// <summary>
 /// [TBS]
 /// </summary>
 public InkCanvasStrokeCollectedEventArgs(Swi.Stroke stroke) : base(InkCanvas.StrokeCollectedEvent)
 {
     if (stroke == null)
     {
         throw new ArgumentNullException("stroke");
     }
     _stroke = stroke;
 }
示例#2
0
 /// <summary>
 /// InkCanvasStrokesReplacedEventArgs
 /// </summary>
 internal InkCanvasStrokesReplacedEventArgs(Swi.StrokeCollection newStrokes, Swi.StrokeCollection previousStrokes)
 {
     if (newStrokes == null)
     {
         throw new ArgumentNullException("newStrokes");
     }
     if (previousStrokes == null)
     {
         throw new ArgumentNullException("previousStrokes");
     }
     _newStrokes = newStrokes;
     _previousStrokes = previousStrokes;
 }
示例#3
0
 /// <summary>
 /// Constructor
 /// </summary>
 internal InkCanvasStrokeErasingEventArgs(Swi.Stroke stroke) 
 {
     if (stroke == null)
     {
         throw new ArgumentNullException("stroke");
     }
     _stroke = stroke;
 }