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