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..
Answer Posted / 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 View All Answers
What are predicates in c#?
What is the difference between method parameters and method arguments. Give an example?
What are the 2 broad classifications of fields in c#?
What is the difference between “finalize” and “finally” methods in c#?
How is method overriding different from overloading?
What is a virtual property. Give an example?
How can I process command-line arguments?
Differentiate between response.expires and response.expiresabsolute?
What is deadly diamond problem?
What is scaffolding in c#?
Difference between abstract classes and interfaces
Is javascript harder than c#?
What is the purpose of dictionary in c#?
What is difference between static and constant variable?
What are the different types of classes?