Click to See Complete Forum and Search --> : System.Windows.Control namespace


mohamed123
March 14th, 2008, 05:07 AM
Hi

System.Windows.Control namespace missing

in Visual Studio 8 with .NET 3.5

TextChangedEventArgs is in System.Windows.Control , but this is not avaialable

I currently have , a trial version of Visual Studio 8 , could it be that in this version this namespace is not available

Regards

boudino
March 14th, 2008, 05:14 AM
1.) The namespace is defined in an assembly System.Windows.Forms.dll . Check if you are referencing the assembly.

2.) What kind of project have you created? If it is WPF project, the Winforms probably would not be referenced, and it is question if you need it. It it is the case, maybe you are doing something wrong.

mohamed123
March 14th, 2008, 05:40 AM
Ok
Found it

The assembly is called PresentationFramework.dll

When i referenced it , problem solved

Thanx

riscutiavlad
March 15th, 2008, 06:41 AM
1.) The namespace is defined in an assembly System.Windows.Forms.dll . Check if you are referencing the assembly.

2.) What kind of project have you created? If it is WPF project, the Winforms probably would not be referenced, and it is question if you need it. It it is the case, maybe you are doing something wrong.

System.Windows.Forms is the namespace used by WinForm projects.
Windows Presentation Foundation projects use all the other System.Windows.* namespaces, including System.Windows.Controls.