 |
Refer Listing To A Friend |
|
|
 |
SUGGEST How to draw a line in .NET? Line Control for .NET TO A FRIEND...
If you have a friend that you would like to recommend this page to,
or if you just want to send yourself a reminder, here is the easy
way to do it!
Simply fill in the e-mail address of the person(s) you wish to tell
about How to draw a line in .NET? Line Control for .NET, your name and e-mail address (so they do
not think it is spam and can reply to you directly with gracious thanks),
and click the SEND button.
If you want to, you can also enter a message that will be included
on the e-mail.
After sending the e-mail, you will be transported back to the
page you recommended!
| Resource Title: |
How to draw a line in .NET? Line Control for .NET |
| URL: | [CLICK HERE] |
| Description: |
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.Cont rol. It overrides the OnPaint method to draw itself. The class will draw the line depending on its properties.
| |
|
|
|
 |
|