|
|
|
|
 |
|
 |
 |
 |
How to draw a line in .NET? Line Control for .NET
|
|
|
Hits: 26
How to draw a line in .NET? Line Control for .NET
 4.0
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.
Platform(s): Windows
Date: Dec, 02 2004
Author: Rustem Sabitov, http://www.rustemsoft.com/Beginner.htm
License
| License Type: Commercial License |
| |
price: 39.95$
|
Ratings
Number of Ratings: 1 Votes
| 5 |
|
| 0% |
| 4 |
| 100%
|
| 3 |
| 0%
|
| 2 |
| 0%
|
| 1 |
| 0%
|
|
|
Others Scripts
|
|
|
 |
 |
|
 |
|
 |
|