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
Gustavo
NA
1.3k
453.8k
Ho do I: Make an Instance global?
Apr 13 2010 12:16 PM
Hello:
I am cleaning my code and trying to make whatever I can global. Global might not be the right terminology.
I put most of my global variables in the 'program.cs' and its working fine.
Is there a way to put the instances in there or make global some other way?
This is the line I would like to make golbal:
FormICEPack FormICEPack = Application.OpenForms["FormICEPack"] as FormICEPack;
I have this line in many places and in many programs/forms. Would like to just have it once.
Reply
Answers (
2
)
how to access vista system remotely ?
multi threading problem