Solved

500pts: Creating a UI for arranging controls with SNAP like vs2005?

Posted on 2006-10-24
3
208 Views
Last Modified: 2012-05-05
Hi there,

Does anybody have any examples or can help with creating a UI like VS2005 where i add new controls, rearrange them with the mouse using Snap to .... once this is done then i will serialize the information with XML and load the controls and positions etc at runtime...

I was wondering if some kind of framework existed for doing such a thing?

I do have a general idea how to move something using the mouse etc but its the snap to and creating a toolbox that sort of has me a little confused...

Basically I am extending an app i have to allow people to add fields to entry form..

If anybody can help, i would really appreciate any input

thanks in advance

Ian
0
Comment
Question by:ianinspain
3 Comments
 
LVL 7

Accepted Solution

by:
nepali earned 500 total points
ID: 17794410
hi,
For drag drop ui stuff check this article
http://www.codeproject.com/cs/miscctrl/toolbox.asp

For the xml to be generated. You can have a business data model that maps to the structure of your form. so whenever you add an form item you can get the position and type of item added and write it to the xml file. For this the complexity depends on the form structure. I will prefer to have a designer grid type of structure on my form where the user can change the structure and then an form entry panel where the user can enter the form details.

0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 17795132
0
 

Author Comment

by:ianinspain
ID: 17795702
Thanks taking a look now..

ermmm,.. emoreau, this is just a docking pane isn't it... not a gui form designer??
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Bit flags and bit flag manipulation is perhaps one of the most underrated strategies in programming, likely because most programmers developing in high-level languages rely too much on the high-level features, and forget about the low-level ones. Th…
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now