*/
Want to see what people are talking about? See the latest forum posts.
*/

How to draw a line in .NET? Line Control for .NET 0

*/

How to draw a line in .NET? Line Control for .NET 0

Submitted By: rustem
Rating: starhalf star (Rate It)

When a beginner who has VB6 experience first time opens .NET
and just going about making a form up he/she could notice there
is no Line in the .NET toolbox. What happened, where did it go?
There is a difference from VB6 forms that Windows Forms .NET
does not support the Line control. The Line class is based on
System.Drawing namespace that provides access to GDI+ basic
graphics functionality. A Line control is a graphical control
that displays a horizontal, vertical, or diagonal
one-pixel-wide line that can't be changed directly. The Line
control can be changed dynamically at run time. The control
class Line that is implemented in both languages (VB.Net and
C#) is derived from System.Windows.Forms.Control. It overrides
the OnPaint method to draw itself. The class will draw the line
depending on its properties. Line controls can be displayed on
forms, in picture boxes, and in other visual controls.


NOTE: Some downloads must be obtained through publishers´s site.
Do you want to get your software listed on this site? Go to our submissions area.

Screenshot

No Image

Details

File Name:
37554.zip
Product homepage:
Order page:
Languages:
Unknown
Platforms:
.NET
Release date:
12/2/2005
License:
Unknown
Size:
16 KB
Price/Fee (US$):
Unknown
Number of downloads:
7051

Comments (2)

better ,please try to give more with code starstarstar   Posted by: prasad on Monday, May 29, 2006

better some more,please provide source code as a example,it will help the readers as well as programmers.

thank'u'

Just some questions about the Line control   Posted by: Denson on Wednesday, April 18, 2007

I was wondering if there is a way to force the control to draw on a background image and force the background color of the control to be transparent.
I appreciate any response. Thank you.

Denson

Add Your Rating

(Not published)
star
starstar
starstarstar
starstarstarstar
starstarstarstarstar

corner
© 1996-2008 CommunityHeaven LLC. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
North American business development: Nicolai Wadstrom. Publisher: Lars Hagelin.