1

I have created a Windows Form Application project in C# with some buttons, text, and other things ...

Is it possible to use HTML, JS, CSS for the UI and to interact with the C# ?

Call a function, modify an object, etc .

Takah
  • 345
  • 3
  • 20
  • Not so much using Windows Forms... unless you include some kind of Browser control. Have you looked into using UWP? – Milney Mar 06 '17 at 12:38
  • For your reference https://www.codeproject.com/articles/990346/using-html-as-ui-elements-in-a-winforms-applicatio – J.SMTBCJ15 Mar 06 '17 at 12:42

1 Answers1

2

You can use the Web browser control, which is based on Internet Explorer. It has a COM based API with a managed wrapper, which allows you to do bi-directional communication. There is also CefSharp, which allows embedding of Chromium based browsers in Winforms and WPF applications.

Garett
  • 16,632
  • 5
  • 55
  • 63