VB Net gurus

I am trying to make a visio like application in VB .Net,
with tree control on left and picture box on the right of
my Form. I am a bit confused as to if picture box is the
right form to use for that purpose. I need to draw
rectangles, ellipses, rubber band like strechable lines
and also need capability to move them around. Could some
one give me a jump start in this regards, or a helpful
pointer on the web?

Thanks

Re: Visio like drawing capability in VB .Net by Bob

Bob
Sun Oct 12 23:42:34 CDT 2003

Don't use PictureBox. It's just for displaying pictures.

You'll need to create your own control.

The GDI+ FAQ has an article
(http://www.bobpowell.net/manipulate_graphics.htm) which will explain how to
go about this.

--
Bob Powell [MVP]
C#, System.Drawing

September's edition of Well Formed is now available.
http://www.bobpowell.net/currentissue.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

Blog http://bobpowelldotnet.blogspot.com

"Richa" <richa_vaidya@yahoo.com> wrote in message
news:004f01c390d7$aaf66a30$a301280a@phx.gbl...
> VB Net gurus
>
> I am trying to make a visio like application in VB .Net,
> with tree control on left and picture box on the right of
> my Form. I am a bit confused as to if picture box is the
> right form to use for that purpose. I need to draw
> rectangles, ellipses, rubber band like strechable lines
> and also need capability to move them around. Could some
> one give me a jump start in this regards, or a helpful
> pointer on the web?
>
> Thanks



Re: Visio like drawing capability in VB .Net by Max

Max
Mon Oct 13 02:31:36 CDT 2003

I am also writing similar application.
I also started thinking about drawing the figures on (or in) some control
but decided it is not feasible.
You have to implement a lot of stuff, like move resize, properties, etc.
That is why I decided that each object on the diagram will be a .NET
control. e.g a class derived from System.Windows.Forms.Control or one of
it's ancestors.


"Richa" <richa_vaidya@yahoo.com> wrote in message
news:004f01c390d7$aaf66a30$a301280a@phx.gbl...
> VB Net gurus
>
> I am trying to make a visio like application in VB .Net,
> with tree control on left and picture box on the right of
> my Form. I am a bit confused as to if picture box is the
> right form to use for that purpose. I need to draw
> rectangles, ellipses, rubber band like strechable lines
> and also need capability to move them around. Could some
> one give me a jump start in this regards, or a helpful
> pointer on the web?
>
> Thanks