473,394 Members | 1,752 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,394 software developers and data experts.

Can't single project become a child Form of Mdi Project??

i am developing some program base on mdi

project A is Mdi , project B is normal winForm program

i just want to make B that childForm of A

and is it possible between project?

Nov 17 '05 #1
4 1075
BigAbility,

Yes, you can just create an instance of that form, and set the MdiParent
property to the main parent form.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"BigAbility" <km*****@msn.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
i am developing some program base on mdi

project A is Mdi , project B is normal winForm program

i just want to make B that childForm of A

and is it possible between project?

Nov 17 '05 #2
i mean Project A not include Project B.

maybe Program B is executable file like b.exe

is it possible B become a childForm of A ( if i write some code in B) ??


"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:u2**************@TK2MSFTNGP10.phx.gbl...
BigAbility,

Yes, you can just create an instance of that form, and set the
MdiParent
property to the main parent form.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"BigAbility" <km*****@msn.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
i am developing some program base on mdi

project A is Mdi , project B is normal winForm program

i just want to make B that childForm of A

and is it possible between project?


Nov 17 '05 #3
BigAbility,

It's possible. If you knew the name of the type, you could use
reflection to load the assembly and then get the type (casting it to a
Form), and then add the form to the parent collection.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"BigAbility" <km*****@msn.com> wrote in message
news:eK**************@TK2MSFTNGP15.phx.gbl...
i mean Project A not include Project B.

maybe Program B is executable file like b.exe

is it possible B become a childForm of A ( if i write some code in B) ??


"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote
in
message news:u2**************@TK2MSFTNGP10.phx.gbl...
BigAbility,

Yes, you can just create an instance of that form, and set the
MdiParent
property to the main parent form.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"BigAbility" <km*****@msn.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
i am developing some program base on mdi

project A is Mdi , project B is normal winForm program

i just want to make B that childForm of A

and is it possible between project?



Nov 17 '05 #4
could you give me some code or example...

i haven't sloved this problem yet..

thanks


Nov 17 '05 #5

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

Similar topics

39
by: Randell D. | last post by:
Folks, I'm sure this can be done legally, and not thru tricks of the trade - I hope someone can help. I'm writing a 'tool' (a function) which can be used generically in any of my projects. ...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
12
by: Adil Akram | last post by:
I'm using VS 2005, .net 2.0 for a desktop application (Window Form app). I can't set ZOrder of Panel control neither at design time by toolbar/menu command "Bring to Front"/"Sent to Back" nor at...
1
by: mpathfinder | last post by:
hi everybody i have a MDI form that it shows child forms with the "Show()" method . in one of that child forms i show another form that owned by this form again with the "Show()" method . this...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.