public class TestAction : Eplan.EplApi.ApplicationFramework.IEplAction, Eplan.EplApi.ApplicationFramework.IEplActionEnable { //IEplAction Members #region IEplActionEnable Members public bool Enabled(string strActionName, Eplan.EplApi.ApplicationFramework.ActionCallingContext actionContext) { if (strActionName == "TESTACTION") { return false; } else { return true; } } #endregion }