Ejemplo n.º 1
0
 /// <summary>
 /// [TBS]
 /// </summary>
 public InkCanvasStrokeCollectedEventArgs(Swi.Stroke stroke) : base(InkCanvas.StrokeCollectedEvent)
 {
     if (stroke == null)
     {
         throw new ArgumentNullException("stroke");
     }
     _stroke = stroke;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructor
 /// </summary>
 internal InkCanvasStrokeErasingEventArgs(Swi.Stroke stroke) 
 {
     if (stroke == null)
     {
         throw new ArgumentNullException("stroke");
     }
     _stroke = stroke;
 }