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
dmosborne
NA
3
0
creating a new form instance with Application.Run
Dec 17 2004 2:27 PM
I'm wondering why the following line of code is valid: Application.Run(new MyForm()); (Assuming the class MyForm exists) Does this result in the creation of a new instance of the MyForm class? If so, why don't you have to give the instance a name? I would expect you would have to do the following: private MyForm MyFormInstance; then, later... Application.Run(MyFormInstance = new MyForm()); Thanks. Diluter
Reply
Answers (
3
)
A serious problem, need to be solved urgently...
Need help with .NET automation of Word