TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Warren
NA
2
2.7k
vb.net drawing a line does not work
Oct 6 2013 7:54 PM
The following code will not work. Iget errors on lines 4 and 5 GraphicsFun is underlined and the errors state that "Declaration expected"
There is no other code in this program. Option expliciit is on.
Public Class Form1
Dim GraphicsFun As System.Drawing.Graphics
Dim PenColor As New System.Drawing.Pen(System.Drawing.Color.Red)
GraphicsFun = Me.CreatGraphics
GraphicsFun.Drawline(penColor,(20 ,30, 100, 80)
End Class
W.
Reply
Answers (
1
)
are 2 constructors in the same class possible?
Regarding Private constructor & static constructor in c#