You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
806 B
32 lines
806 B
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.";
|
|
}
|
|
|
|
}
|
|
}
|