|
I know it seams stupid to ask this question, but I have some problems using the class mentioned above.
I was learning how to create control designers, I am using the .NET framework 1.1 Final Beta, and Microsoft Visual Studio .NET 2003 Final Beta, I've created a new class and I was trying to inherit the (System.ComponentModel.Design.ComponentDesigner) class, as the following:
public class myClass : System.ComponentModel.Design.ComponentDesigner { public myClass() { // // TODO: Add constructor logic here // } }
Unfortunately, I've received this error message:
(C:\...\myClass.cs(13): The type or namespace name 'ComponentDesigner' does not exist in the class or namespace 'System.ComponentModel.Design' (are you missing an assembly reference?))
Can you believe it :-)
Well, according to the error message, this class does not exist, but according to MSDN, the class does exist, and this is a link describing the class:
http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemComponentModelDesignComponentDesignerClassTopic.asp?frame=true
So does it exists or not, and if it does, can I use it for my windows controls library?, and if it does not, what is the best class to use for a windows controls library?
|