문제

I am making Windows 8 style program, and i made some buttons (Class). I would like to create an rectangle box(Visual basic powerpack etc..) and to move the buttons only inside of it, and when it's being dragged to between the buttons, the others will let him between them.

I hope i wasn't too confusing, and i'm kinda new to VB.net. Here's the preview of it:enter image description here

도움이 되었습니까?

해결책

I suggest you to use DotNetBar library which is oriented to MetroApps developing (on WinForms) and contains a lot of usercontrols to do all what you need, for example the MetroTileItem control that you can see in the next image:

enter image description here

다른 팁

You might want to use WPF for this. But if you'll be using WinForms then I suggest Telerik's Panorama. Here's the link to it :)

http://www.telerik.com/help/winforms/panorama-overview.html

enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top