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
Bob Boursaw
NA
10
0
Systray App - Need some help here
Jul 1 2007 2:57 AM
Ok,
I have a small systray application which has a context menu associated with it. One of the options on the context menu bring up a dialogue box and prompts the user for information. My goal is simply this.
1. Take the information that the user enters on the form
2. Pass this information from the current form to some main form variables via public SET properties in the main form
3. Close the dialogue once the information has been passed.
My issue...
The only way I know how to access the public properties to set the variables in the main form is to instantiate a new instance of my main form. HOWEVER, when I do this, I end up with 2 running instances of my system tray application.
Is there a way to grab the 'current' instance of a form or how should I be doing this?
I know this is probably a very basic task but I can't seem to find the answer.
Thanks all!!!
Bob
Reply
Answers (
7
)
Intense (for me) sorting algorithm
[Novice Question] Returning parameters by reference?