By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,694 Members | 1,795 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,694 IT Pros & Developers. It's quick & easy.

Drawing Board (White Board)

P: n/a
Hi,

I want to create drawing board application that can draw Line, rectagle,
circle and free hand drawing.

Each drawing need to be transparent, moveable (draggable), have bring to
front and send to back feature etc.

How can I do this .. where should I start?

Right now I have used a panel as the drawing board and each of the drawing
object (line, circle etc) as user controls overriding the OnPaintBackGround.
the user control draw on the board upon variuos mouse events as appropriate.
But I fail to acheive the transparency. What is the best way to do this?? I
mean if I drew a rectangle I draw rectagle (not a filled one) in the user
control and add it to the main drawing board but then it just make a white
rectangle hiding all the other drwing comes under the new rectangle.

Get me a direction if I am doing some thing wrong and If I am doing it
correct what I have missing??

Thanks,
Regards,
Nirosh.
Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi there...

Sorry i'm not here to answer you question, but instead...I need to get some help from you!! =
Are you developing a WindowsForm or a WebForm?? I need to create this drawing board on a
ASP.NET form (using vb.net or c#). May I ask you what control you use to draw the circles, retangles and lines?
And are you just using a Panel as your drawing board??? I have no idea how I should start this project...Please Help!!

Thanks in advance!!!
Jasmin

----- Champika Nirosh wrote: ----

Hi

I want to create drawing board application that can draw Line, rectagle
circle and free hand drawing

Each drawing need to be transparent, moveable (draggable), have bring t
front and send to back feature etc

How can I do this .. where should I start

Right now I have used a panel as the drawing board and each of the drawin
object (line, circle etc) as user controls overriding the OnPaintBackGround
the user control draw on the board upon variuos mouse events as appropriate
But I fail to acheive the transparency. What is the best way to do this??
mean if I drew a rectangle I draw rectagle (not a filled one) in the use
control and add it to the main drawing board but then it just make a whit
rectangle hiding all the other drwing comes under the new rectangle

Get me a direction if I am doing some thing wrong and If I am doing i
correct what I have missing?

Thanks
Regards
Nirosh

Nov 16 '05 #2

P: n/a
Hi,

Sorry for the late reply

I am developing a User Control that display on a ASPX page. there I
developed a class object (typically called as c# applet) and add it to the
html manullly using the object tag.

I use c# and won't heart if you are using vb, I guess.

I have a one Object class that extends a UserControl and there I have
override the OnPaintBackGround to get the object transperency. and All the
lines Circle and Rect are extended objects of the Object class. For the main
drawing board (drawing area) I use a panel. There I am using a dynamic
bitmap image as well, that is as a background image of the main drawing
baord for avoiding periodic refreshing.. so since you have already started
this I think this note will help you to get some idea..

"jasmineC" <an*******@discussions.microsoft.com> wrote in message
news:7D**********************************@microsof t.com...
Hi there....

Sorry i'm not here to answer you question, but instead...I need to get some help from you!! =P Are you developing a WindowsForm or a WebForm?? I need to create this drawing board on an ASP.NET form (using vb.net or c#). May I ask you what control you use to draw the circles, retangles and lines?? And are you just using a Panel as your drawing board??? I have no idea how I should start this project...Please Help!!!
Thanks in advance!!!
Jasmine

----- Champika Nirosh wrote: -----

Hi,

I want to create drawing board application that can draw Line, rectagle, circle and free hand drawing.

Each drawing need to be transparent, moveable (draggable), have bring to front and send to back feature etc.

How can I do this .. where should I start?

Right now I have used a panel as the drawing board and each of the drawing object (line, circle etc) as user controls overriding the OnPaintBackGround. the user control draw on the board upon variuos mouse events as appropriate. But I fail to acheive the transparency. What is the best way to do this?? I mean if I drew a rectangle I draw rectagle (not a filled one) in the user control and add it to the main drawing board but then it just make a white rectangle hiding all the other drwing comes under the new rectangle.

Get me a direction if I am doing some thing wrong and If I am doing it correct what I have missing??

Thanks,
Regards,
Nirosh.

Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.