A
A
askeet2016-04-04 15:16:41
HTML
askeet, 2016-04-04 15:16:41

C#.How to make a painless transition from Flash to HTML5 for Windows.Forms?

Hello, earlier, using ActiveX, I placed a Flash component in a .NET form and then organized the transfer of parameters from C # to Flash. More details can be found here.
Is it possible to migrate to more modern HTML5 technology?
Namely, the following is of interest:
1. The presence of a converter from Flash to НТМL5
2. Passing parameters from С# Form with code execution inside HTML5 and final display of the picture on the form.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Evseev, 2016-04-14
@alex1t

I can't answer your questions directly, but I can direct you where to look.
The WebBrowser component in WinForms uses the IE engine that is installed on the system. Accordingly, in older versions (probably below 10 or even 11), all HTML5 features are simply not supported. So another "own" HTML engine is needed.
For example WebKit.NET:
https://github.com/webkitdotnet/webkitdotnet - WebKit.NET is a control library wrapper for WebKit written in C#.
Or based on CEF (Chromium Embedded Framework):
https://bitbucket.org/xilium/xilium.cefglue/wiki/Home - Xilium.CefGlue is a .NET/Mono binding for The Chromium Embedded Framework (CEF) by Marshall A. Greenblatt. This project supports CEF version 3.
(new version)
https://bitbucket.org/fddima/cefglue/wiki/Home - CefGlue
CefGlue is a .NET CLR binding for The Chromium Embedded Framework (CEF) by Marshall A. Greenblatt. This project supports only CEF1, and obsoleted.
(old version)
https://habrahabr.ru/post/152637/ - First steps with Chromium Embedded Framework and .NET

A
askeet, 2016-04-14
@askeet

Thanks for the answer. For myself, I settled on the following chain Flash -> google swiffy -> WebBrowser C#. Since there are no analogues yet, for this I started the project https://github.com/askeet/SwiffyToNet on GitHub. So far, of course, not much has happened, but if you are interested, you can see the results at the link above.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question