几何尺寸与公差论坛

 找回密码
 注册
查看: 704|回复: 0

【转帖】access combobox from outside the userpmpage

[复制链接]
发表于 2009-4-12 22:56:16 | 显示全部楼层 |阅读模式
access combobox from outside the userpmpage
i used the addin wizard to create a new addin.
in the userpmpage.vb (in class userpmpage) i added two combo boxes.
i fill first combobox with items, when my user pmpage is created.
combobox2 is emty.
now i want to fill combobox2 with new items if user change selection in combobox1, but how can i do this.
on the oncomboboxselectionchanged (pmphandler) i have no access to combobox2.
can somebody help me pleas?
answer ok, solved my problem myself:
instead of normal variable declaration use:
friend shared combobox2 as propertymanagerpagecombobox
edited: 03/06/2009 at 05:36 pm by georg draxler
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 19:32 , Processed in 0.034715 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表