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 the different types of private assembly and shared assembly?

0 Answers  


Hoe can i connect the table into the c# application?

2 Answers  


What?s class SortedList underneath?

1 Answers  


What is the difference between dynamic and var in c#?

0 Answers  


Which is better interface or abstract class in c#?

0 Answers  






What?s the .NET datatype that allows the retrieval of data by a unique key?

1 Answers  


What is the use of protected in c#?

0 Answers  


What are the the three types of DAO ?

1 Answers  


What is dto c#?

0 Answers  


Explain how to add controls dynamically to the form using c#.net.

0 Answers  


What does string format do?

0 Answers  


what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?

0 Answers   CTS,


Categories