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
Can a class have more than 1 destructor?
What is access specifier in c#?
What is wpf application in c#?
What is eager loading in c#?
What is appdomain in c#?
What are the basics of c#?
How do destructors and garbage collection work in c#?
What are nested classes in c#?
What is meant by generics in c#?
Can partial class be inherited?
What is the difference between system.text.stringbuilder and system.string?
What is the .net datatype that allows the retrieval of data by a unique key?
How does dependency injection work c#?
What is byte c#?
what are the different ways a method can be overloaded?