I have a context menu program and am wanting to send information from it
to a windows application.

The Windows app has the delegate method defined to catch the event

The Context Menu App is wired to send the event with the exception of
it needs some place to send it to. The OnAddJobEvent is null at this
point because the context menu doesn't want to receive the event, it
just wants to send it.

Any help would be appreciated.
Dave


===========================

public delegate void AddJobNotificationEventHandler(object sender, AddJobEventArgs args);

public class AddJobNotification
{
public event AddJobNotificationEventHandler OnAddJobEvent;

public void AddJob(...)
{
if ( OnAddJobEvent != null )
{
AddJobEventArgs args = new AddJobEventArgs(...);
OnAddJobEvent(this, args);
}
}
}

RE: How to send events from one windows app to another windows app by v-phuang

v-phuang
Thu Oct 21 01:35:40 CDT 2004

Hi

I reviewed the thread and find that there is a similar issue in the
newsgroup below.Now I have replied to you, you may go and take a look.
Subject: How to send events from one windows app to another windows app
Newsgroups: microsoft.public.dotnet.framework

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.