943,656 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 425
  • C# RSS
Sep 28th, 2009
0

help in a child form

Expand Post »
hi guys,

How to make a child form refer to it's parent form, what i mean is that when the child form created it's lock the parent till it finish.

thanks in advance
Similar Threads
Reputation Points: 8
Solved Threads: 3
Junior Poster
MxDev is offline Offline
137 posts
since Sep 2007
Sep 28th, 2009
1

Re: help in a child form

Why not just show it modally?
C# Syntax (Toggle Plain Text)
  1. private void button1_Click(object sender, EventArgs e)
  2. {
  3. using (frm1 frm = new frm1())
  4. {
  5. frm.ShowDialog();
  6. }
  7. }
Featured Poster
Reputation Points: 1749
Solved Threads: 735
Senior Poster
sknake is offline Offline
3,948 posts
since Feb 2009
Sep 29th, 2009
0

Re: help in a child form

Thanks again Mr. sknake for your help
Reputation Points: 8
Solved Threads: 3
Junior Poster
MxDev is offline Offline
137 posts
since Sep 2007
Sep 29th, 2009
0

Re: help in a child form

You're welcome

Please mark this thread as solved if you have found an answer to your question and good luck!
Featured Poster
Reputation Points: 1749
Solved Threads: 735
Senior Poster
sknake is offline Offline
3,948 posts
since Feb 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: Database not being updated after DataAdapter.Update
Next Thread in C# Forum Timeline: Crystal Report Help





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC