I have to click one button . the action for the button is " to close the current form and open the new form " . I have use like this
element.Close(); // To close the current form
new Args(formStr(ScaffoldingInquiryDialog)); // to open the new form
run = classFactory.formRunClass(args);
The new form is opened . But the current form cannot be closed .
Please anyone Knows help me