图书馆问题 [英] Library question

查看:103
本文介绍了图书馆问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到这些错误:


无法找到DrawListViewItemEventArgs''

无法找到DrawListViewSubItemEventArgs''

找不到DrawListViewColumnHeaderEventArgs''


我已经引用了两者:

System.Drawing

System.Drawing.Design


我应该参考什么来摆脱这些错误?


Adrian。

I am getting these errors:

DrawListViewItemEventArgs'' could not be found
DrawListViewSubItemEventArgs'' could not be found
DrawListViewColumnHeaderEventArgs'' could not be found

I am already referencing both:
System.Drawing
System.Drawing.Design

Which else should I reference to get rid of these errors?

Adrian.

推荐答案

Hello Adrian,


所有这三个类都在System.Windows.Forms命名空间中定义,所以添加

"使用System.Windows.Forms;你的C#代码。


应该这样做!


-

问候,


Jani J?rvinen先生

C#MVP

芬兰赫尔辛基
ja *** @ removethis.dystopia.fi
http://www.saunalahti.fi/janij/
Hello Adrian,

all the three classes are defined in System.Windows.Forms namespace, so add
"using System.Windows.Forms;" to your C# code.

That should do it!

--
Regards,

Mr. Jani J?rvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/


Adrian:


也许是一个愚蠢的问题,但你是否包括使用指令?


jpuopolo


" Adrian<" < no*@home.anywhereWrote in message

news:45 ******************** @ dreader2.news.tiscali。 nl ...
Adrian:

Maybe a silly question, but are you including a "using" directive?

jpuopolo

"Adrian <" <no*@home.anywherewrote in message
news:45********************@dreader2.news.tiscali. nl...

>我收到这些错误:


无法找到DrawListViewItemEventArgs''
无法找到DrawListViewSubItemEventArgs''

无法找到DrawListViewColumnHeaderEventArgs''


我已经引用了两者:

System.Drawing

System.Drawing.Design


我应该参考什么来摆脱这些错误?

Adrian。

>I am getting these errors:

DrawListViewItemEventArgs'' could not be found
DrawListViewSubItemEventArgs'' could not be found
DrawListViewColumnHeaderEventArgs'' could not be found

I am already referencing both:
System.Drawing
System.Drawing.Design

Which else should I reference to get rid of these errors?

Adrian.



根本不是一个愚蠢的问题,

但是"使用"在那里。

Adrian


-


P. de Ridder,drs econ。,bsc psych。

Pearltree软件开发
www.pearltree.nl
www.pearltree.us

" jpuopolo" ; < jp ****** @ hotmail.comwrote in message

news:%2 **************** @ TK2MSFTNGP05.phx.gbl。 ..
Not a silly question at all,
however "using" is there.
Adrian

--

P. de Ridder, drs econ., bsc psych.
Pearltree Software Development
www.pearltree.nl
www.pearltree.us
"jpuopolo" <jp******@hotmail.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...

Adrian:


也许是一个愚蠢的问题,但你是否包括使用指令?


jpuopolo


" Adrian<" < no*@home.anywhereWrote in message

news:45 ******************** @ dreader2.news.tiscali。 nl ...
Adrian:

Maybe a silly question, but are you including a "using" directive?

jpuopolo

"Adrian <" <no*@home.anywherewrote in message
news:45********************@dreader2.news.tiscali. nl...

我收到这些错误:


无法找到DrawListViewItemEventArgs''

无法找到DrawListViewSubItemEventArgs''

找不到DrawListViewColumnHeaderEventArgs''


我已经引用了两个:

System.Drawing

System.Drawing.Design


我应该参考什么来摆脱这些错误?


Adrian。
I am getting these errors:

DrawListViewItemEventArgs'' could not be found
DrawListViewSubItemEventArgs'' could not be found
DrawListViewColumnHeaderEventArgs'' could not be found

I am already referencing both:
System.Drawing
System.Drawing.Design

Which else should I reference to get rid of these errors?

Adrian.




这篇关于图书馆问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆