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

What is null character in string?

0 Answers  


what is the diference between casting and converting?

2 Answers  


What is difference between field and property in c#?

0 Answers  


who is a protected class-level variable available to?

0 Answers   Siebel Systems,


Why do we use Design Pattern in C#?

0 Answers   Impetus,






WHAT ARE Design Patterns USING IN DOTNET

3 Answers   HP,


Where do you add an event handler ?

1 Answers  


What?s the difference between <c> and <code> XML documentation tag?

1 Answers  


What is the use of getcommandlineargs() method in c#.net?

0 Answers  


Is c# dictionary a hash table?

0 Answers  


What is bitwise operator in c#?

0 Answers  


If a child class instance is created, which class constructor is called first - base class or child class?

0 Answers  


Categories