Form holding
-
hi, I don no how to frame a question for this problem. e,g.I am having two forms like fr1,fr2 and one button bt1. through fr1 bt1 click event i wil open fr2. my question is unless I close the fr2 i should get acees to fr1. Pls help me.. With Regards Prasad:)
-
hi, I don no how to frame a question for this problem. e,g.I am having two forms like fr1,fr2 and one button bt1. through fr1 bt1 click event i wil open fr2. my question is unless I close the fr2 i should get acees to fr1. Pls help me.. With Regards Prasad:)
hiremath71 wrote:
my question is unless I close the fr2 i should get acees to fr1.
Instead of using fr2object.Show() method use fr2object.ShowDialog(this)
-
hi, I don no how to frame a question for this problem. e,g.I am having two forms like fr1,fr2 and one button bt1. through fr1 bt1 click event i wil open fr2. my question is unless I close the fr2 i should get acees to fr1. Pls help me.. With Regards Prasad:)
I'm not sure I really understood what you want, but I'll give it a try. In case, you want the user to be able to access form1 while form2 is open, use the
Show
method to open form2. Otherwise use theShowDialog
method.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook