How to running Job from a Form

For Example we wanna run a Job with name  "FAN_TableList_CSV".

So you must create a button and oferride method Clicked in this button by this code:

void clicked()
{
    TreeNode tr;
    XInfo xInfo = new xInfo();
    ;
    tr = xInfo.rootNode();
    tr = treeNode::findNode("jobs").AOTfindChild("FAN_TableList_CSV");
    tr.AOTrun();
}
原文地址:https://www.cnblogs.com/Fandyx/p/3201674.html