Beispiel #1
0
 private void AddDrawAction(DrawAction drawAction, bool isCursor = false)
 {
     if (isCursor)
     {
         Cursor = drawAction;
     }
     else
     {
         Cursor = null;
         _numberOfActionsToDraw++;
         _drawActions.Add(drawAction);
     }
     drawAction.Invalidate(_control);
 }
Beispiel #2
0
 private void AddDrawAction(DrawAction drawAction, bool isCursor = false)
 {
     if (isCursor)
     {
         Cursor = drawAction;
     }
     else
     {
         Cursor = null;
         _numberOfActionsToDraw++;
         _drawActions.Add(drawAction);
     }
     drawAction.Invalidate(_control);
 }