How do I make mousedrag inside Panel move form window?

后端 未结 5 931
陌清茗
陌清茗 2021-02-08 19:34

I have this System.Windows.Forms.Panel that I want to enable so that if the user click and drags the mouse drags the window around to.

Can I do this? Do i have to implem

5条回答
  •  无人共我
    2021-02-08 20:33

    You might want to take a look at this component that I pasted here:

    http://pastebin.com/5ufJmuay

    It is a component that you will be able to drop on a form, and then drag the form by dragging inside it.

提交回复
热议问题