0

I needed to make an application that doesn’t show any window. I couldn't find the answer Also I looked at stack overflow pages.

Soner Gönül
  • 97,193
  • 102
  • 206
  • 364

1 Answers1

0

Does your application require a user interface? If not, you should really be creating a console application rather than a Windows Forms or WPF Application.

If you simply want to hide a form from within the form you can type the following:

this.Hide();

Edit: From a console application, you'll want to compile the project as a Windows Forms application under the project properties. Ensure that you have no startup object selected.

Fil Sapia
  • 15
  • 4