I want to make a winform by C#, and add a ironpython console window in it, like a multiline textbox.
So I can write python program into it to do some operations in my Winform software.
How can I do that?
Thanks.
affixture:
I created a opensource project IpyIF, Ironpython Interactive Window.http://ipyiw.codeplex.com/
Thanks a lot.
I got it by myself.
I use two TextBox, one is to input code of ironpython, another is to redirect the ironpython output.
If someone want to know how to redirection, look this:
How can I redirect the stdout of IronPython in C#?