PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Custom control - "designer"

Reply

Custom control - "designer"

 
Thread Tools Rate Thread
Old 24-06-2003, 06:37 PM   #1
RF
Guest
 
Posts: n/a
Default Custom control - "designer"


I'd like to develop my own control with drag and drop capabilities.
Basically, how can i develop a application similar VS .NET designer window.

Where do I find information on creating my own "designer" with drag and drop
functions.

Thanks in advance,

RF.


  Reply With Quote
Old 25-06-2003, 10:17 AM   #2
Tim Dawson
Guest
 
Posts: n/a
Default Re: Custom control - "designer"

You can re-use the .net windows forms designer in your own applications, if
you like.

http://www.divil.co.uk/net/articles...ers/hosting.asp

Alternatively, you could write your own design surface with resizing, etc.
There is a sample of this on gotdotnet.com.

--

Tim Dawson
"RF" <rf@someemail.com> wrote in message
news:eKHCe#nODHA.3192@tk2msftngp13.phx.gbl...
> I'd like to develop my own control with drag and drop capabilities.
> Basically, how can i develop a application similar VS .NET designer

window.
>
> Where do I find information on creating my own "designer" with drag and

drop
> functions.
>
> Thanks in advance,
>
> RF.
>
>



  Reply With Quote
Old 28-06-2003, 12:01 PM   #3
Bill Woodruff
Guest
 
Posts: n/a
Default Re: Custom control - "designer"

"RF" <rf@someemail.com> wrote "| Thanks for the sample designer. It's been very helpful. But now I need to
| make "relational lines" between objects in the designer. Hence, when I move ..."

RF,

Check these out : the first article has some nifty techniques for making sticky lines.

C# : A-Star is born by Eric Marchesin

http://www.codeproject.com/csharp/G...4708#xx537200xx

and

GDI+ Drawing Page, Part I
With the .NET Forms and Drawing class libraries you can create a drawing application C! la Visio that allows users to drag
and draw shapes, select
those shapes, and move them about the form.

by Lars Powers, MCSD, June 20, 2003
Mike Snell, MCSD

http://www.devx.com/codemag/Article/16115

for ideas and code. There's also, if I remember correctly, an article on "drawing surface" which was on MSDN; you can search on MSDN
for it.

best, Bill Woodruff
dotScience
Chiang Mai, Thailand


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off