1 / 7
文档名称:

UG帮助文档NXOPEN C#.doc

格式:doc   大小:63KB   页数:7页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

UG帮助文档NXOPEN C#.doc

上传人:yzhlya 2016/12/23 文件大小:63 KB

下载得到文件列表

UG帮助文档NXOPEN C#.doc

文档介绍

文档介绍:C#( UG) NXOPEN Create and display a dialog Private dialog dialog =().("") 显示对话框 () Alternatively, the UI Styler uses the following instead of the show function you open the dialog from the menu: 或者, UI/Styler 用以下代码实现从菜单打开的对话框的显示功能。 Dim isTopDialog AsBoolean isTopDialog =false (isTopDialog) How styler items are declared: Private changeDialog As Private changeStr0 As Private changeReal6 As How styler items are initialized: (初始化) changeDialog = ("UF_STYLER_DIALOG_INDEX", ) changeStr0=("STR_0", ringItem) changeReal6=("REAL_6",. RealItem ) Register dialog box item callback functions In order to register these callbacks, NX provides an API “ Add##Handler ”, where ## is replaced with “ Activate ”,“ Construct ”,“ Apply ” as shown in following examples. For more information on callbacks of all the dialog items, see the callback section in Dialog Item Reference . When you exit a Styler dialog box normally, the destructor callback is executed at last. Selecting Cancel or OK will invoke Cancel or OK callback first, followed by the destru