Drawing in design mode ?

  • Thread starter Thread starter Billy Bob
  • Start date Start date
B

Billy Bob

Hi, Is it possible like Visual Basic that when you are in Design mode so
you can add controls etc to a windows form that you can draw on it? like
draw a line or a shape?

Bob
 
What IDE are you using? More then likely yes. I use SharpDevelop, and
you can simply click the Design tab on anything that is a Form.
 
I might be misinterperting your question, are you looking to add
controls, or are you looking for a control that would function like
paint or Adobe Photoshop?

If controls,
In the solution explorer right click on "Form1.cs"(whatever your form
name is), click designer, then you should be able to drag and drop
contols from the toolbox.

If you are looking to drop a paint/Photoshop control, I am pretty sure
there is some code out there touching on System.Drawing. Things like
drawing with a pen, creating a circle, etc. google for System.Drawing
examples should give you results...
 
I believe the OP was looking for the old line and shape controls from
VB6 days where you could place a line or shape on the form at design
time.

These do not exist in VS200x versions of VB or C#, although I believe
that someone may have created them. Check the usual places
(SourceForge, CodeProject, etc.) and you will probably find an example.
In fact, here is a link to one of the articles:

http://www.codeproject.com/cs/miscc...sp?df=100&forumid=186161&exp=0&select=1408375
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top