Display one form in another form...

Posted by Ramu02 under C# on 2/14/2011 | Points: 10 | Views : 3504 | Status : [Member] | Replies : 21
Hi,
I m developing a windows application for some mobile store. I want to display import sales,info, and search pages in main page only . Can u please tell me the ideas for that ...

THANKS in ADVANCE....
Ramu




Responses

Posted by: Karthikanbarasan on: 2/14/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Hi,

Can u brief ur requirement... do you need to call one form from another form? or want to display all the informations in a single page?

Thanks
Karthik
www.f5Debug.net

Ramu02, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naimishforu on: 2/15/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
1 sec, Pages in Windows Application???

Thanks

Thanks,
Naimish
http://dotnetinterview.zxq.net/
http://naimishpandya.blogspot.in/

Ramu02, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 2/15/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Pages in web application is equivalent to forms in windows application...

Thanks
Karthik
www.f5Debug.net

Ramu02, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Madhu.b.rokkam on: 2/15/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
If I understand your requirement correctly, You can use Panels/group boxes to divide the form into sections and display as needed.

Thanks and Regards
Madhu

Ramu02, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naimishforu on: 2/15/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
HI,

You are right Karthik, but what Ramu02 has written is I m developing a windows application

Thanks

Thanks,
Naimish
http://dotnetinterview.zxq.net/
http://naimishpandya.blogspot.in/

Ramu02, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 2/15/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Yes you are right Naimishforu...

Thanks
Karthik
www.f5Debug.net

Ramu02, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naimishforu on: 2/15/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
yeah buddy, so that's why I got confused that Pages in Windows Application ;)

Thanks

Thanks,
Naimish
http://dotnetinterview.zxq.net/
http://naimishpandya.blogspot.in/

Ramu02, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 2/15/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
I think by mistake he has placed it

Thanks
Karthik
www.f5Debug.net

Ramu02, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ramu02 on: 2/15/2011 [Member] Starter | Points: 25

Up
0
Down
I am creating 5 pages in my application. In main page I create a menuStrip and one groupbox. My requirement is when I click in menuStrip item form2 will display in groupbox ...and if I click in another menuStrip item form3 will display in same groupbox.....

Ramu02, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 2/16/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Try using the MDI forms so that u can easily show the forms based on the menu clicks

Thanks
Karthik
www.f5Debug.net

Ramu02, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ramu02 on: 2/16/2011 [Member] Starter | Points: 25

Up
0
Down
I dont about MDI form s....If u have information abt that can u send to me ....How to create MDI forms ..like....

Ramu02, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 2/16/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Hi,

Check this link

http://www.codeproject.com/KB/cs/mdiformstutorial.aspx

Thanks
Karthik
www.f5Debug.net

Ramu02, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naimishforu on: 2/16/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Nice one...!!!

Thanks,
Naimish
http://dotnetinterview.zxq.net/
http://naimishpandya.blogspot.in/

Ramu02, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 2/16/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
thanks!!!

Thanks
Karthik
www.f5Debug.net

Ramu02, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ramu02 on: 2/17/2011 [Member] Starter | Points: 25

Up
0
Down
ThanX for response all of U. Specially Karthikanbarasan .....I got my requirementand one more doubt is in the form2 it will show the header(it display form name in left side and close button in right side) i want to remove that also ..It s possible r not .....

Ramu02, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: T.saravanan on: 2/17/2011 [Member] [MVP] Silver | Points: 25

Up
0
Down
Hi,

Try this...
Add the following code in your form Constructor...
this.Text = string.Empty;

this.ControlBox = false;


Cheers :)

Thanks,
T.Saravanan

Ramu02, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 2/17/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Hi Ramu02,

Thats good... U can follow Saravanan's code for your requirement!!!

Thanks
Karthik
www.f5Debug.net

Ramu02, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ramu02 on: 2/18/2011 [Member] Starter | Points: 25

Up
0
Down
Thank You ALL....I got my requirement .......Thanx once again....

Ramu02, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 2/18/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Good Ramu02... Please close this thread by marking the answer!!!

Thanks
Karthik
www.f5Debug.net

Ramu02, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ramu02 on: 2/19/2011 [Member] Starter | Points: 25

Up
0
Down
I want to do same in WPF forms ....I tried this way ..but the form properties did not display IsmDI property .....can you please send the solution .....

Ramu02, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hurrer on: 10/4/2012 [Member] Starter | Points: 25

Up
0
Down
i want the code for MDI representation for child form ....that child form can be uptained form the other child form.................that code is very urgent for me..........plz help me for that...

Ramu02, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response