Use a webpage as the UI in a C# desktop application?

前端 未结 6 1534
予麋鹿
予麋鹿 2021-01-31 02:39

I\'m building a C# desktop app with a simple UI. Due to my familiarity with HTML/CSS, and a previous web-based iteration of a very similar app, it would be ideal if I could re-u

6条回答
  •  青春惊慌失措
    2021-01-31 03:26

    You can try to use a Chromium-based control - DotNetBrowser. This control provides wide interactivity options, like DOM manipulation and DOM events, which can be useful in your case.

    In addition, there is an article that demonstrates how to use a web page as HTML UI in a C# desktop application: https://www.infoq.com/articles/html-desktop-net

    Affiliation disclosure: I work with the team, which created DotNetBrowser.

提交回复
热议问题