?

  • Thread starter Thread starter nicol
  • Start date Start date
N

nicol

hi everybody, i need to use """" using System.Windows.Forms;
''''''''' in console app . . .
but it has a error . . . can i do that , and if not wher can i use
it ?
i tried it windows form but it didn't work either

and i want to use """" DataGridView """" too
 
hi everybody, i need to use """" using System.Windows.Forms;
''''''''' in console app . . .
but it has a error . . . can i do that , and if not wher can i use
it ?
i tried it windows form but it didn't work either

and i want to use """" DataGridView """" too

Right-click the References folder in Solution Explorer and add
System.Windows.Forms from the .NET tab.

The using directive only works when the assembly with the desired namespace
is referenced. Some assemblies are referenced by default, but WinForms is
only a default in a real WinForms project, so you have to explicitly add it
to a console app.
 
Right-click the References folder in Solution Explorer and add
System.Windows.Forms from the .NET tab.

The using directive only works when the assembly with the desired namespace
is referenced. Some assemblies are referenced by default, but WinForms is
only a default in a real WinForms project, so you have to explicitly add it
to a console app.

hi , thaks a lot
 
Back
Top