1
当我尝试从System.Windows导入'Rect'-struct时,IronPython解释器声称它无法导入。IronPython:无法从System.Windows导入'Rect'-struct
由于我使用Visual Studio的IronPython工具,我还可以看到IntelliSense-DropDown不显示此结构。
是否需要导入此结构的特殊语句?
谢谢!
当我尝试从System.Windows导入'Rect'-struct时,IronPython解释器声称它无法导入。IronPython:无法从System.Windows导入'Rect'-struct
由于我使用Visual Studio的IronPython工具,我还可以看到IntelliSense-DropDown不显示此结构。
是否需要导入此结构的特殊语句?
谢谢!
你可能需要做的:
进口CLR clr.AddReference( 'WindowsBase')
到导入之前加载矩形是在宣布大会。