473,382 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

MDI Forms - Child Forms

hi I want to know different types way for calling child forms in a
particular project.....I'm new to C# language and I'm not able to add
child form in my project so plz anyone can tell me how to work wid
child forms and mdi forms.......

May 31 '07 #1
4 2028
VIKKI,

MDI child forms are the same as regular forms. In order to make a
regular form an MDI child, all you have to do is set the MdiParent property
on the child form to the parent form. When you show it, it will show the
form as a child of the parent form.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"VIKKI" <vi*********@rediffmail.comwrote in message
news:11**********************@p77g2000hsh.googlegr oups.com...
hi I want to know different types way for calling child forms in a
particular project.....I'm new to C# language and I'm not able to add
child form in my project so plz anyone can tell me how to work wid
child forms and mdi forms.......

May 31 '07 #2
Beside that, you need to set the parent form's Ismdicontainer property to
true.

--
cheers,
RL
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote in
message news:ei**************@TK2MSFTNGP02.phx.gbl...
VIKKI,

MDI child forms are the same as regular forms. In order to make a
regular form an MDI child, all you have to do is set the MdiParent
property on the child form to the parent form. When you show it, it will
show the form as a child of the parent form.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"VIKKI" <vi*********@rediffmail.comwrote in message
news:11**********************@p77g2000hsh.googlegr oups.com...
>hi I want to know different types way for calling child forms in a
particular project.....I'm new to C# language and I'm not able to add
child form in my project so plz anyone can tell me how to work wid
child forms and mdi forms.......


May 31 '07 #3
True, I assumed the original poster already had done that, considering
she was only asking about child forms.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Egghead" <robertlo@NO_SHAW.CAwrote in message
news:OF****************@TK2MSFTNGP03.phx.gbl...
Beside that, you need to set the parent form's Ismdicontainer property to
true.

--
cheers,
RL
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote
in message news:ei**************@TK2MSFTNGP02.phx.gbl...
>VIKKI,

MDI child forms are the same as regular forms. In order to make a
regular form an MDI child, all you have to do is set the MdiParent
property on the child form to the parent form. When you show it, it will
show the form as a child of the parent form.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"VIKKI" <vi*********@rediffmail.comwrote in message
news:11**********************@p77g2000hsh.googleg roups.com...
>>hi I want to know different types way for calling child forms in a
particular project.....I'm new to C# language and I'm not able to add
child form in my project so plz anyone can tell me how to work wid
child forms and mdi forms.......



May 31 '07 #4
Thnx Nicholas & Egghead for replying
But I'm still not able to make it...
I have already set ismdi property to true and now I'm not able to add
a child form to it
I have added another normal window form and now I'm not getting any
mdiparent property on the child form...
I'm using Microsoft Dot Net 2003 platform
Plz Advise me...

May 31 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

25
by: Steve Jorgensen | last post by:
Yup, Steve's full of tips, but hey, it makes him feel important, right? Ok, here goes. I've been trying to improve encapsulation by putting code in the same object as the stuff it affects, so I...
3
by: Lance | last post by:
I've noticed that controls that are contained in MDI child forms fail to raise MouseLeave events if the MDI child form's MdiParent property is set to Nothing (after it was set to an existing MDI...
3
by: Simon Verona | last post by:
I have a parent form which contains a toolbar. The toolbar controls the loading and switching to of MDI child forms. The code for the toolbar click event and one of the subroutines that loads...
0
by: Scott H. | last post by:
I have an MDI parent form that creates mdi child forms each of which are represented by a tab item. I use a third party control to generate the tabbed MDI child forms. Each tab or MDI child form...
2
by: Mario | last post by:
Hi, I am trying to create an application with multiple windows forms. The problem that I have is that after creating the window forms, I do not know how to open formN after closing Main form. ...
13
by: Academic | last post by:
I have a MDI form, sometimes child forms and sometimes forms that are neither If I close the app the child forms closing and closed event happens followed by the Mdi form receiving the...
8
by: Tony K | last post by:
How do you maximize a child form when you show the child form. My resolution on my screen is 1440 x 900. My parent form maximizes just fine, but when I show a child form it doesn't maximize. It...
12
by: raylopez99 | last post by:
Keywords: scope resolution, passing classes between parent and child forms, parameter constructor method, normal constructor, default constructor, forward reference, sharing classes between forms....
0
FishVal
by: FishVal | last post by:
It is quite frequently needed to open an auxiliary form from a main one to enter some information. Data entered in the auxiliary form is expected to appear in the main one and optionally treated in...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.