开发者

Do Windows Forms Controls run without the form?

开发者 https://www.devze.com 2023-01-12 02:49 出处:网络
Can I use some features of a control without rendering it? Can I use some features开发者_开发技巧 of a control in a console app?
  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.


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消