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

How to create events for a control? What is custom events? How to create it?

0 Answers  


How can an inner class access the members of outer class?

0 Answers   Changepond,


Who benefits from ajax?

0 Answers  


What are Memory foot print of an exe?

0 Answers   MCN Solutions,


What is Covariance and contravariance in C#?

0 Answers   HCL,






How to reverse each word in a string using c#?

0 Answers   Infosys,


Which language is used for desktop application?

0 Answers  


from web.config file with connection string who to interact means who to connect in gridview. in my system shows null something error what is the problem

3 Answers   Bally Technologies,


Can a constructor be static in c#?

0 Answers  


What does exclamation mark mean in access query?

0 Answers  


How many types of inheritance are there in c#?

0 Answers  


Can a struct have a default constructor (a constructor without parameters) or a destructor in c#?

0 Answers  


Categories