API Help
Eplan.EplApi.ApplicationFramework Namespace / EventHandlerWrapper Class
Members Example

In This Topic
    EventHandlerWrapper Class
    In This Topic
    Event handler to process EPLAN events in a remoting client. It is not possible to directly use the EventHandler in a remoting client!
    Inheritance Hierarchy

    System.Object
       Eplan.EplApi.ApplicationFramework.EventHandlerWrapper

    Syntax
    public class EventHandlerWrapper 
    public ref class EventHandlerWrapper 
    Example
    Response to EPLAN events in a remoting client
    Eplan.EplApi.ApplicationFramework.EventHandler oEventHandler = new Eplan.EplApi.ApplicationFramework.EventHandler();
    oEventHandler.SetEvent("onActionStart.String.*");
           
    Eplan.EplApi.ApplicationFramework.EventHandlerWrapper oWrapper= new Eplan.EplApi.ApplicationFramework.EventHandlerWrapper();
    oWrapper.EplanEventLocally += new Eplan.EplApi.ApplicationFramework.EventHandlerFunction(oWrapper_EventHandlerFunctionLocally);
              
    oEventHandler.EplanEvent += new Eplan.EplApi.ApplicationFramework.EventHandlerFunction(oWrapper.LocallyEventHandlerFunction);
    Public Constructors
    Public Fields
     NameDescription
    Public FieldLocal event handler  
    Top
    Public Methods
     NameDescription
    Public MethodThis object should live "forever."  
    Public MethodThis function of the local event handler is registered as a handler function of the remote event handler EventHandler.  
    Top
    See Also