471,310 Members | 1,042 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Getting Forms Object from a seprate class Implemented in Form's Namespace.

Hi!

I have two different applications First one is a Windows Form application
and other is a Windows Service both developed in C#.

Now I have a class named "ClassInWindowsApp" implemented in the namespace of
Windows Form application.
Simililarly another class named "ClassInServiceApp" is implemented in the
namespace of Windows Service Application.

Now Requirements are as follows:

1) From ClassInWindowsApp class I want to access the object of Form Class
"Form1" .
2) From ClassInServiceApp class I want to access the object of Service
Class "MyService".

For Requirement # 1 I have an option to use Win32 Windows Lookup technique
but I want to know is there any other way to do that.
For Requirement # 2 I don't have any Idea.

Kindly note that Objects of "ClassInWindowsApp" and "ClassInServiceApp" are
created and used remotely.

Please Help me.

Thanks In Advance.

Ahmad Jalil Qarshi
Jan 16 '06 #1
0 1107

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Joshua Russell | last post: by
reply views Thread by Anonieko Ramos | last post: by
7 posts views Thread by Sergey Poberezovskiy | last post: by
3 posts views Thread by Geraldine Hobley | last post: by
reply views Thread by Sergio E. | last post: by
reply views Thread by rosydwin | last post: by

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.