Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

How would you create a window that built calculations in WPF?

$
0
0

My team wants to build a UI that creates different calculations from report data.

Ex. we have a report with item1 and item2 from the report and so the user would type something like

if (item1 + item2 = 400) then false else true

Here is some criteria:

1. It must use some type of intellisense to pull up the item data when the scripts calculation gets run. The user won't be entering in actual values like 48 or .3

2. the language/scripting language has to be easy to learn/use. I think c# would be way to hard for non techies. I though powershell would be great and I know you can embed a command prompt into c# and run the powershell script from your app

3. we have to be able to get the calculation and then translate it in the WPF app to build xml rules we then store in a DB, so we need to be able to communicate between the script and c# to get the script data.

I though powershell would be great for this but not sure. Any thoughts would be appreciated.


chuckdawit


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>