开发者

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.


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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜