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
jesse
NA
6
0
Child form back to parent
Feb 25 2009 8:44 PM
Ok,
Form1 creates and opens Form2
Form2 then needs to pass a string back to Form1.
Its like this,
Form1:
public void fromForm2(string incomingString)
{
MessageBox.Show(incomingString);
}
Form2:
public void passToForm1(string something)
{
// I think I need something like this? I dont know
this.Parent.fromForm2(something)
}
Reply
Answers (
1
)
Declaring variables in Windows form
How to validate a DataGridViewComboBoxCell??