Skip to content

richorama/node-wpf-calculator

Repository files navigation

Node-WPF Calculator

A demonstration of Node.js - WPF interop using edge.js.

Screenshot

Description

This node application uses edge.js to host a WPF form loaded from a XAML file (thanks Glenn).

You can pass in a JavaScript object with properties and methods. The C# code converts the methods to RelayCommands, and the object is then data bound to the window.

Commands fired in WPF result in the functions being called in JavaScript. So all the calulator logic is written in JavaScript.

JavaScript can then send updates through to the data context to update the display on the calculator.

Install

$ npm install

Run

$ node app

License

MIT

About

A demonstration of Node.js - WPF interop using edge.js.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published