I just created an application using GeckoFx and I confess that it filled me with joy. And I have a desire is to go further in the development with it.
Here I want to use C # code in my pages via JavaScript. Let me explain. Indeed, with "addToJavaScriptWindowObject" with QWebKit is the ability to use a C # class via JavaScript. So I was wondering it would be the equivalence in Gecko or say GeckoFx.
Code: Select all
The aim is to achieve the following code: window.cSharpClass;
Where "window.cSharpClass" JavaScript returns the class C #.
Many thanks to those who help me to solve this issue to $ 1,000,000.