There is no built in line or shape control. You'll need to draw your own
line using the Graphics.DrawLine() method or the ControlPaint class.
Alternatively, you can use a control, such as a Label, set it's BorderStyle
property to FixedSingle and make the control 1 pixel high or set the
BorderStyle to Fixed3D and set the height to 2. If you'd like an actual
control in the ToolBox, I'm sure you can find lots of these types of
controls around the Internet.
--
Tim Wilson
..Net Compact Framework MVP
"Michael Rodriguez" <mi**@nospamforme.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
In Delphi there was a control called a Bevel. It would let you draw
straight lines, top, left, right, or bottom, anywhere on your screen.
What is the equivalent in C#? How can I draw a straight line across the
screen?
TIA,
Mike Rodriguez