Hi xioyao,
I searched the Web for DemoToolboxService, but apart from the present thread and a handful of Chinese-language web pages, the only English-language occurrence I found was in a 2009 CodeBank article. It seems to be well coded but it doesn't define a Property or Field called ToolBox. So the code
Code:
toolBoxService = New DemoToolboxService()
toolBoxService.ToolBox = New ListBox()
is marked as an error. Is there a later version of DemoToolBoxService that does implement the ToolBox property or field?
Excuse me for not understanding that beautiful Chinese lettering
.
BB
EDIT: I found the code of your own DemoToolBoxService -- fortunately (for me) in VB English apart from comments -- embedded in one of the "Chinese" links I found earlier: https://www.csdn.net/tags/MtTacg4sMT...0O0OO0O0O.html. Obviously, I should have looked there first. It took a certain amount of tinkering but in the end it works well as described.