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
Tamas Szigeti
NA
16
0
request for explaining code on form's reference
Apr 18 2013 4:17 PM
I have a main form called Form1 and a child for called Form2.
I put the code below in Form2's declaration as a reference to Form1.
private Form1 m_parent;
public Form2(Form1 frm1)
{
InitializeComponent();
m_parent = frm1;
}
My problem is I cant see any reference how Form1 can be tied to Form2.
As far as I know m_parent and frm1 are a type of Form1 in this code
but can this refer to Form1?
Any explanation would be appreciated.
Tamas
Reply
Answers (
3
)
Plotting a graph using c#
Entity in Console application