コード例 #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);
            }
        }
コード例 #2
0
ファイル: SceneManager.cs プロジェクト: gdlprj/duscusys
 void ReleaseCaptureAndFinishManip(IVdShape sh)
 {
     sh.UnderlyingControl().ReleaseMouseCapture();
     sh.UnderlyingControl().ReleaseAllTouchCaptures();
     sh.FinishManip();
 }
コード例 #3
0
ファイル: SceneManager.cs プロジェクト: gdlprj/duscusys
        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);
            }
        }
コード例 #4
0
 void ReleaseCaptureAndFinishManip(IVdShape sh)
 {
     sh.UnderlyingControl().ReleaseMouseCapture();
     sh.UnderlyingControl().ReleaseAllTouchCaptures();
     sh.FinishManip();
 }