![]() |
【转帖】access combobox from outside the userpmpage
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 |
所有的时间均为北京时间。 现在的时间是 06:10 PM. |