Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,839 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
i work a project with c# wpf but i can't add "System.Windows.Forms" when i write this code=
using System.Windows.Forms;
i give an error =
cs0234 The name of the "forms" type or namespace does not exist in the "System.Windows" namespace (is your assembly reference missing?)
You must add first a Reference to System.Windows.Forms.dll
For example, for .NET Framework 4.7.2 :
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.Windows.Forms.dll