Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Web like Desktop GUI in C# winforms

Tags:

c#

.net

winforms

How can I program a web like GUI for my Winforms Desktop Application?

For example, Visual Studio 2008 Start Page.

like image 303
user366312 Avatar asked Dec 14 '22 02:12

user366312


2 Answers

Options:

  • Use the FlowLayoutPanel and TableLayoutPanel controls to lay out normal WinForm controls in a web-like style.
  • Use the WebBrowser control to embed HTML bits in your WinForm.
  • Use the ElementHost control to embed WPF bits in your WinForm.
  • Use WPF instead of WinForms for the whole UI.
like image 99
Christian Hayter Avatar answered Dec 16 '22 16:12

Christian Hayter


You would want to include a browser in your application. There is a user control called WebBrowser that will do this for you.

like image 39
Brian Genisio Avatar answered Dec 16 '22 18:12

Brian Genisio