Putting a shape (circle, square, etc) on a form at design time

Hi,

I come from a Borland C++ Builder background and in that environment if you want a shape like a circle or a square on your form you simply drop a TShape on it at design time and set it's properties just like you would do with a button or any other component. Very easy and convenient.

Is there such a thing in Visual C# Express I can't seem to find anything other than an explanation of how to code the drawing of shapes at run time.

Thanks.

Daniel Leger



Answer this question

Putting a shape (circle, square, etc) on a form at design time

  • husseiny

    hi,

    i didn't see any control like that but you can develop a custom control to do that

    best regards



  • akverma

    well, this seem not avaiable before 2003, but now, it's changed.
    I'am not still experience willl it. But can share my experience.
    I have created a custom class that inherit from control class.
    what I do is writing code, but when I switched back to form
    designer, my class appear in my toolbox and my main form.
    I can also drag a new copy of it. I still experience with it.

    Eric,

  • Putting a shape (circle, square, etc) on a form at design time