Missing Classes from MS Core library

  • Thread starter Thread starter muesliflakes
  • Start date Start date
M

muesliflakes

The type or namespace name 'ControlDesigner' does not exist in the
class or namespace 'System.Window.Forms.Design'

I'm attempting to use the CSharp example HelpLabelDesigner which
extends System.Windows.Forms.Design.ControlDesigner, but this
particular Class does not exist in the System.Windows.Forms.Design
namespace.

Only the following subset of the classes in this namespace are on my
system.

ComponentEditorForm
ComponentEditorPage
EventsTab
IUIService
IWindowsFormsEditorService
PropertyTab
WindowsFormsComponentEditor

There should be a lot more then this. I am running an Accedemic
version of the latest MS Visual Studio but I was unaware of it missing
core classes.
 
This class is found in the System.Design assembly, add this to your
references.

Willy.
 
According to MSDN, you should reference the System.Design assembly to access
the ControlDesigner class:

----------------------------------------------------------------------------
---------------------
public class ControlDesigner : ComponentDesigner
....
Namespace: System.Windows.Forms.Design
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows
2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003
family
** Assembly: System.Design (in System.Design.dll) **
 
Back
Top