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..

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


Please Help Members By Posting Answers For Below Questions

How do you create dlls in .NET

1036


Can a dictionary have the same key?

953


What is the major difference between a custom control and user control?

1025


What are the properties of c#?

967


How many bytes is an int in c#?

919


Name the control which cannot be placed in mdi?

870


What is hashset c#?

966


Describe an abstract class?

976


What is the signature of a method?

912


Define multicast delegate? How it be used?

1037


What is escape sequence in c#?

990


What is mvc pattern in c#?

906


What is difference between value and reference types in C#.NET

1079


What is the use of list in c#?

841


What is constructor overloading in c#?

1019