Question

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

Était-ce utile?

La solution

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

Autres conseils

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top