简体   繁体   English

Dynamics AX 2012 MenuItemButton行为

[英]Dynamics AX 2012 MenuItemButton behavior

I have a button that has a Action in its MenuItemType. 我有一个在MenuItemType中有一个Action的按钮。 Is it possible to make it run two classes sequentially? 是否可以使其顺序运行两个类? I have one class that runs an external program and another to sync it. 我有一类运行一个外部程序,另一类进行同步。 I want to combine the two operations in one button. 我想将两个操作组合在一个按钮中。

您可以编写另一个类,该类依次调用两个所需的类,并将此新类用于按钮。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM