HydroPowerGen

How to handle context change event in Processbook .NET Add-in

Discussion created by HydroPowerGen on Dec 7, 2011
Latest reply on Dec 8, 2011 by HydroPowerGen

Hello,

 

I am trying to create a ProcessBook Add-in in C#.NET.  I need to trap the context change event so that I can do some processing there.  I cannot find such event to register a event handler.

 

In VBA, it is something like this:

 

sub oContextHandler_ContextChanged(FromDisplay As Display, FromContextHAndler As ContextHandler)

 

What is the equivalent in .NET?

 

Your help is greatly appreciated.

 

Thanks,

 

Aimin

 

 

Outcomes