Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

For methods inside the interface why can’t you specify the accessibility modifier?

0 Answers   Siebel,


Explain how can you clean up objects holding resources from within the code?

0 Answers  


In C#, explain the difference between overloading and overriding.

0 Answers   Accenture,


What is the difference between array and arraylist c#?

0 Answers  


Can you use foreach iteration on arrays in c#?

0 Answers  


Name some string escape sequences in c#.

0 Answers  


What is the reason behind the invention of c#?

0 Answers  


What is object pool in .net?

0 Answers  


Distinguish between array and arraylist in c#?

0 Answers  


What is monitor in C#?

0 Answers   TryTechnicals Pvt Ltd,


What is the difference between namespace and class?

0 Answers  


Why do I get an error (cs1006) when trying to declare a method without specifying a return type?

0 Answers  


Categories