Hai,
I want to open a new form while the previous form is
hiding or closing.
I tried this with using MDI.I created one form like
ParentForm.placed one button control.when clicked one that
it opend new form like ChildForm.When i set the property of
ChildForm to Maximize,but the ParentForm button control
also appearing on the childform.
so plz help me how to hide parentform controls(hide
parentform while it is childform opened)

thanq..



Hai, I want to open a new form while the previous form is hiding or closing. I tried this w..

Answer / kishor

Before using the show method to open the child form
set the visible property of the Button on the mdi form to false.

when to will close the child form first check the the mdi
form contains any child form by using 'MdiChildren.Length'
property if it is zero set the Visible property of the
button to true

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Is for loop faster than foreach?

0 Answers  


Are c# objects passed by reference?

0 Answers  


What are circular references? How garbage collection deals with circular references.

0 Answers  


What sort algorithm does c# use?

0 Answers  


What is writeline in c#?

0 Answers  






What is a dynamic assembly?

0 Answers  


what are the files we need to deploay a project in the system?

2 Answers  


Define parsing?

0 Answers  


What is check/uncheck?

0 Answers  


if a method is marked as protected internal who can access it?

0 Answers   Siebel Systems,


Does hashset allow duplicates c#?

0 Answers  


Why we put script in head of asp.net page Why not in body?

1 Answers  


Categories