public ConditionForm(TaskListDataInterface tasker) { InitializeComponent(); ReEnable(); foreach (CCInputInterface e in tasker.GetInputList()) { comboBox_Sorce.Items.Add(e.getPluginName()); } }
public void init(TaskListDataInterface t) { ddig.parent = this; configdata = configs.Load("TaskLua.config"); ddig.updateFilename(); tasker = t; lua.RegisterFunction("addTask", this, GetType().GetMethod("addTask")); lua.RegisterFunction("addTaskBefore", this, GetType().GetMethod("addTaskBefore")); lua.RegisterFunction("debug", this, GetType().GetMethod("debugAddlog")); lua.RegisterFunction("udpsend", this, GetType().GetMethod("udpsend")); }
public void init(TaskListDataInterface t) { tasker = t; cForm = new configForm(); cForm.tasker = t; }