Eplan Platform API
Eplan.EplApi.ApplicationFramework Namespace / EventHandler Class / SetEvent Method
Events with this name are edited through this event handler object.
Example

In This Topic
    SetEvent Method (EventHandler)
    In This Topic
    Defines for which event the IEplanEvents is raised.
    Syntax
    public void SetEvent( 
       string strEventName
    )
    public:
    void SetEvent( 
       String^ strEventName
    ) 

    Parameters

    Parameter NameDescription
    strEventNameEvents with this name are edited through this event handler object.
    Example
    Define the event to respond to
    // Generate an event handler object
    Eplan.EplApi.ApplicationFramework.EventHandler myHandler= new Eplan.EplApi.ApplicationFramework.EventHandler();
    // The program should respond to this event
    myHandler.SetEvent("onActionStart.String.*");
    See Also