动态调用MenuItem
static void menuFunction(Args _args)
{
SalesTable m_salesTable;
Args args = new Args();
;
args.record(m_salesTable);
//访问Form new MenuFunction(menuItemDisplayStr("Unit"),MenuItemType::Display).run();
//访问Class new MenuFunction(menuItemActionStr("Calculator"),MenuItemType::Action).run();
//访问Report new MenuFunction(menuItemOutputStr("Currency"),MenuItemType::Output).run();
//Question:What is the use purpose that the parameter in the method of run.
//访问Form new MenuFunction(menuItemDisplayStr("Unit"),MenuItemType::Display).run(args);
//访问Class new MenuFunction(menuItemActionStr("Calculator"),MenuItemType::Action).run(args);
//访问Report new MenuFunction(menuItemOutputStr("Currency"),MenuItemType::Output).run(args);
}