1 / 7
文档名称:

UG帮助文档NXOPEN C#.doc

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

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

分享

预览

UG帮助文档NXOPEN C#.doc

上传人:ffy51856fy 2015/6/3 文件大小:0 KB

下载得到文件列表

UG帮助文档NXOPEN C#.doc

文档介绍

文档介绍:C#(UG)
NXOPEN
Create and display a dialog
Private dialog As
dialog = ().("")
显示对话框
()
Alternatively, the UI Styler uses the following instead of the show function you open the dialog from the menu:
或者,UI/Styler用以下代码实现从菜单打开的对话框的显示功能。
Dim isTopDialog As Boolean
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",)
changeReal6=("REAL_6",)
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, fo