Вопрос

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