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

How can I process command-line arguments?

0 Answers  


what is a constructor? What is a destructor?

0 Answers  


What is difference between string and stringbuilder in c#?

0 Answers  


Write a sample code to write the contents to text file in c#?

0 Answers  


What is an escape sequence in c#?

0 Answers  


What is Implementation inheritance and interface inheritance?

0 Answers  


What is data quality assurance?

0 Answers  


What sort algorithm does c# use?

0 Answers  


What are Generics?

5 Answers   TCS,


what is a enumeration in c#

0 Answers   Cognizant,


Is arraylist thread safe?

0 Answers  


What is data set in c#?

0 Answers  


Categories