コード例 #1
0
        void ExecuteTranslate(object o)
        {
            var ac = new TranslatePointsClickAction(CurrentPolygon);

            _currentClickableAction      = ac;
            _currentUpdatableMouseAction = ac;
            ac.ActionDone += afterAction;
        }
コード例 #2
0
 void ExecuteRejectAction(object o)
 {
     if (_currentClickableAction != null)
     {
         _currentClickableAction.Reject();
     }
     _currentUpdatableMouseAction = null;
     if (_currentClickableAction != null)
     {
         _currentClickableAction.Dispose();
     }
     _currentClickableAction = null;
     if (CurrentUpdatableMouseAction != null)
     {
         CurrentUpdatableMouseAction.Dispose();
     }
 }