protected virtual void OnAtmlAction(IAtmlObject obj, AtmlActionType actiontype) { AtmlActionDeligate <IAtmlObject> handler = AtmlObjectAction; if (handler != null) { handler(obj, actiontype, EventArgs.Empty); } }
protected virtual IAtmlObject OnAtmlObjectAction(IAtmlObject obj, AtmlActionType actiontype, EventArgs args) { AtmlActionDeligate <IAtmlObject> handler = AtmlObjectAction; if (handler != null) { obj = handler(obj, actiontype, args); } return(obj); }
protected virtual IAtmlObject OnAtmlObjectAction(IAtmlObject obj, AtmlActionType actiontype) { IAtmlObject results = null; AtmlActionDeligate <IAtmlObject> handler = AtmlObjectAction; if (handler != null) { results = handler(obj, actiontype, EventArgs.Empty); } return(results); }