关于AE

ლ(°◕‵ƹ′◕ლ) 2018-05-04 11:13:34
AE中openformfile(a,b)中参数b是什么,为什么是整型变量,其作用是啥》》》。。。
...全文
255 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
正怒月神 2018-05-04
  • 打赏
  • 举报
回复
OpenFromFile takes the pathname of a file or directory that represents either a FileSystemWorkspace or LocalDatabaseWorkspace, or a connection file to a RemoteDatabase workspace and returns an interface on the specified workspace. Clients of these methods can then proceed to open and access datasets in the workspace. If these methods are called with insufficient properties, then the user will be presented with a connection dialog that will prompt for the required properties. The hWnd argument is the parent window or application's window. The hWnd will guarantee that the connection dialog, if presented to you because of insufficient properties, has the correct parent. hWnd 就是你说的 整型参数。不过我英文不好。
正怒月神 2018-05-04
  • 打赏
  • 举报
回复
引用 2 楼 qq_37361400 的回复:
[quote=引用 1 楼 hanjun0612 的回复:] OpenFromFile takes the pathname of a file or directory that represents either a FileSystemWorkspace or LocalDatabaseWorkspace, or a connection file to a RemoteDatabase workspace and returns an interface on the specified workspace. Clients of these methods can then proceed to open and access datasets in the workspace. If these methods are called with insufficient properties, then the user will be presented with a connection dialog that will prompt for the required properties. The hWnd argument is the parent window or application's window. The hWnd will guarantee that the connection dialog, if presented to you because of insufficient properties, has the correct parent. hWnd 就是你说的 整型参数。不过我英文不好。
去有道翻译了,其说是父窗口或应用窗口的参数,保证了正确的对话框,但不清楚其意思,实际作用??? [/quote] 这我就不清楚了。我看许多示例代码都是传入0,可能代表当前窗体吧。
  • 打赏
  • 举报
回复
引用 1 楼 hanjun0612 的回复:
OpenFromFile takes the pathname of a file or directory that represents either a FileSystemWorkspace or LocalDatabaseWorkspace, or a connection file to a RemoteDatabase workspace and returns an interface on the specified workspace. Clients of these methods can then proceed to open and access datasets in the workspace. If these methods are called with insufficient properties, then the user will be presented with a connection dialog that will prompt for the required properties. The hWnd argument is the parent window or application's window. The hWnd will guarantee that the connection dialog, if presented to you because of insufficient properties, has the correct parent. hWnd 就是你说的 整型参数。不过我英文不好。
去有道翻译了,其说是父窗口或应用窗口的参数,保证了正确的对话框,但不清楚其意思,实际作用???

110,538

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧