如何通过单击面板移动表格 [英] How to move Forms by clicking on Panel

查看:93
本文介绍了如何通过单击面板移动表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以告诉我如何使用面板移动任何表格.
这意味着vb.net中的自定义边框

oi有它的代码,但是我听不懂.....

Can somebody tell me how to move Any forms using Panel.
it means a customize Border in vb.net

oi have a code of it but i am unable to understand it.....

推荐答案

如果您找到了代码,但是您找不到了解这一点,您想从我们这里得到什么?发布代码,并告诉我们您不了解的内容.您认为我们会发布不同的代码,还是第二次您就能神奇地理解它?

您可以绘制无边框的表单,然后在所需的表单上绘制任何类型的自定义边框.我看不到与移动表单或面板的位置有什么关系.您是否想要没有边框的自定义表单,并且想捕获鼠标事件以在单击和拖动时移动它?根据您的无意义帖子,这是一个疯狂的猜测.该代码可免费获得,如果您不理解,则应在此阶段的学习中选择更基本的任务.
If you''ve found the code, but you can''t understand it, what do you want from us ? Post the code and tell us what you don''t understand. Do you think we''ll post different code, or that you''ll magically be able to understand it the second time ?

You can draw a form with no border, and then draw any sort of custom border on that form you like. I don''t see what that has to do with moving forms or where the panel comes in. Do you want a custom form with no border and you want to catch mouse events to move it on click and drag ? That''s a wild guess based on your meaningless post. The code for that is freely available, and if you don''t understand it, you should choose a more basic task for this stage of your learning.


这篇关于如何通过单击面板移动表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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