using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Eplan.EplApi.ApplicationFramework; using KPlan.Forms; namespace KPlan.Actions { class ConfigureAction : Eplan.EplApi.ApplicationFramework.IEplAction { public bool Execute(ActionCallingContext ctx) { if (!Util.TCUtil.CheckLogin()) { return true; } new Configure().ShowDialog(); return true; } public bool OnRegister(ref string Name, ref int Ordinal) { Name = "ConfigureAction"; Ordinal = 20; return true; } public void GetActionProperties(ref ActionProperties actionProperties) { //actionProperties.Description = "Action test with parameters."; } } }