找不到类型或命名空间名称“InputBoxResult”(您是否缺少using指令或程序集引用?) [英] The type or namespace name 'InputBoxResult' could not be found (are you missing a using directive or an assembly reference?)
本文介绍了找不到类型或命名空间名称“InputBoxResult”(您是否缺少using指令或程序集引用?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我收到此错误..添加参考我必须做什么...帮助我
i am getting this error .. in add reference what i have to do... help me
InputBoxResult test = InputBox.Show("Prompt" + "\n" + "DDDD" +
"Prompt" + "\n" + "DDDD" +
"Prompt" + "\n" + "DDDD" + "Prompt" + "\n" + "DDDD" +
"Prompt" + "\n" + "DDDD" +
"Prompt" + "\n" + "DDDD"
, "Title", "Default", 100, 0);
if (test.ReturnCode == DialogResult.OK)
MessageBox.Show(test.Text);
推荐答案
嘿塞尔瓦,
这里拍摄远景:
也许您正在使用 GPCore.dll 而忘记添加引用?
问题基本上是,你使用的是谁的代码,其他人的项目/开源项目/其他dll
使用以下链接阅读有关添加引用的信息:
MSDN文章
如果您只想要使用DLL,请选择浏览
在添加参考 e对话框中选择你的dll文件。
干杯,
Edo
Hey Selva,
A long shot here:
perhaps you are using GPCore.dll and forgot to add the reference?
The question is basically, who''s code are you using, some other guy''s project / an open source project / other dll
Use the following link to read about adding a reference:
MSDN Article
If you simply have a DLL you wish to use, select "Browse
" on the Add Reference dialog box and select your dll file.
Cheers,
Edo
这篇关于找不到类型或命名空间名称“InputBoxResult”(您是否缺少using指令或程序集引用?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文