Beispiel #1
0
        private void ReleaseCaptureAndFinishManip(IVdShape sh)
        {
            sh.UnderlyingControl().ReleaseMouseCapture();
            sh.UnderlyingControl().ReleaseAllTouchCaptures();
            sh.FinishManip();

            //if the moved shape is a caption of caption host, save caption host to save new relative position of caption
            var capHost = DocTools.GetCaptionHost(_doc.GetShapes(), sh);

            if (capHost != null)
            {
                capHost.CapMgr().UpdateRelatives();
                SendSyncState(capHost);
            }
        }
Beispiel #2
0
 void ReleaseCaptureAndFinishManip(IVdShape sh)
 {
     sh.UnderlyingControl().ReleaseMouseCapture();
     sh.UnderlyingControl().ReleaseAllTouchCaptures();
     sh.FinishManip();
 }
Beispiel #3
0
        private void ReleaseCaptureAndFinishManip(IVdShape sh)
        {
            sh.UnderlyingControl().ReleaseMouseCapture();
            sh.UnderlyingControl().ReleaseAllTouchCaptures();
            sh.FinishManip();

            //if the moved shape is a caption of caption host, save caption host to save new relative position of caption
            var capHost = DocTools.GetCaptionHost(_doc.GetShapes(), sh);
            if (capHost != null)
            {
                capHost.CapMgr().UpdateRelatives();
                SendSyncState(capHost);
            }
        }
Beispiel #4
0
 void ReleaseCaptureAndFinishManip(IVdShape sh)
 {
     sh.UnderlyingControl().ReleaseMouseCapture();
     sh.UnderlyingControl().ReleaseAllTouchCaptures();
     sh.FinishManip();
 }