October 21, 2014

Open Job On Event Button Clicked

We can open a job in AOT form a "form", this is the way :
1. Add a button to running this job
2. Override method "clicked" on button with code below :
void clicked()
{
    TreeNode tr;
    XInfo xInfo = new xInfo();
    ;
    tr = xInfo.rootNode();
    tr = treeNode::findNode("Jobs").AOTfindChild("AXTutor_OpenMenuItem");
    tr.AOTrun();
}

0 comments:

Post a Comment