我刚开始学习C#,在论坛上找到了一些代码示例并尝试着修改。
这段代码使用了命名空间using system.windows.forms
,我却得到了以下错误信息:
“Forms does not exist in the namespace system.windows.”(system.windows 命名空间中不存在 Forms)
同时,我还遇到了一些与senddown
和sendup
未定义相关的错误,我相信这些函数应该是在Forms
命名空间中。
我在使用 Visual Studio 10(带有 .net Framework 4.0),你知道如何解决这个错误吗?
System.Windows.Forms
的引用。 - ta.speot.is