Jader Dias
Jader Dias

Reputation: 90515

Do Windows Forms Controls run without the form?

  1. Can I use some features of a control without rendering it?
  2. Can I use some features of a control in a console app?

NB: I tried to use a hidden WebBrowser control, but it didn't work.

Upvotes: 0

Views: 187

Answers (2)

Hans Passant
Hans Passant

Reputation: 941873

I answered this in your previous question, controls like WebBrowser need a message loop. There is no message loop in a console app.

Upvotes: 1

user27414
user27414

Reputation:

Yes, you can create an instance of a control without adding it to a form.

If you have a question about specific functionality, you'll need to ask it specifically.

Upvotes: 1

Related Questions