المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Using assembly information from a different assembly



C# Programming
07-28-2010, 07:22 PM
How do you scope information from one assembly to another?

I have a generic host dialog DLL and I use that to create applications in the form of user controls. The host dialog DLL however is the default system menu and has no scope of the assembly who's information I want to pass in.

For example:

Host dialog is a WinForm DLL. It has the client area as well as the non-client area for window controls (minimize close, system menu).

Apps are created using user controls that are addded to projects and each one has the host dialog in common.

I would like to have a generic About selection added to the system menu but display fields from the assembly of the project and not the host dialog DLL.

Hope that was clear

Thanks