Visual Studio拖放 [英] Visual studio Drag and Drop

查看:106
本文介绍了Visual Studio拖放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio构建应用程序,该应用程序使用图像表示物理对象.它具有用于地图的图像和许多表示地图上有形资产的图像.我需要帮助的是VB代码,将其拖放到地图上以表示其实际位置.

简而言之,我希望通用代码使所有未锁定的图像都能够通过拖放操作移动.

I am working on building application with Visual Studio that uses images to represent physical objects. It has an image that is used for a map and many images that represent physical assets on the map. What I need help with is the VB code to drag and drop the items on the map to represent their physical location.

In short I would like a generic code to make all the images in the form that are not locked, capable of being moved via drag and drop.

推荐答案

我认为这可能对您有帮助:

http://zetcode.com/gui/vbwinforms/dragdrop/ [
I think this might help u :

http://zetcode.com/gui/vbwinforms/dragdrop/[^]


这篇关于Visual Studio拖放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆