By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,238 Members | 1,485 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,238 IT Pros & Developers. It's quick & easy.

Problem with designer verb

P: n/a
I'm trying to add a designer verb to my custom control. I'm using the
document
http://msdn.microsoft.com/library/de...classtopic.asp
as a reference. I also looked at the page
http://msdn.microsoft.com/library/de...classtopic.asp

But, when I try adding the statement "Inherits
System.ComponentModel.Design.ComponentDesigner", Intellisense is not
recognizing the statement as being valid. And, when I attempt to build the
solution, the compiler grips about "Type
'System.ComponentModel.Design.ComponentDesigner' is not defined."

I'm using Visual Studio 2003 running under Windows XP Pro.

Is the documentation incorrect?

Richard Rosenheim
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
You need to add a reference to System.Design.dll

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Richard L Rosenheim" <ri*****@rlr.com> wrote in message
news:ez*************@TK2MSFTNGP11.phx.gbl...
I'm trying to add a designer verb to my custom control. I'm using the
document
http://msdn.microsoft.com/library/de...classtopic.asp
as a reference. I also looked at the page
http://msdn.microsoft.com/library/de...classtopic.asp

But, when I try adding the statement "Inherits
System.ComponentModel.Design.ComponentDesigner", Intellisense is not
recognizing the statement as being valid. And, when I attempt to build
the
solution, the compiler grips about "Type
'System.ComponentModel.Design.ComponentDesigner' is not defined."

I'm using Visual Studio 2003 running under Windows XP Pro.

Is the documentation incorrect?

Richard Rosenheim

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004
Nov 21 '05 #2

P: n/a
Thanks, that helped.

Richard Rosenheim
"Mick Doherty"
<EX***********@AND.REMOVE.SQUAREBRACKETS.[mdaudi100#ntlworld.com]> wrote in
message news:OG**************@TK2MSFTNGP11.phx.gbl...
You need to add a reference to System.Design.dll

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"Richard L Rosenheim" <ri*****@rlr.com> wrote in message
news:ez*************@TK2MSFTNGP11.phx.gbl...
I'm trying to add a designer verb to my custom control. I'm using the
document
http://msdn.microsoft.com/library/de...classtopic.asp as a reference. I also looked at the page
http://msdn.microsoft.com/library/de...classtopic.asp
But, when I try adding the statement "Inherits
System.ComponentModel.Design.ComponentDesigner", Intellisense is not
recognizing the statement as being valid. And, when I attempt to build
the
solution, the compiler grips about "Type
'System.ComponentModel.Design.ComponentDesigner' is not defined."

I'm using Visual Studio 2003 running under Windows XP Pro.

Is the documentation incorrect?

Richard Rosenheim

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.