Hi Jason,
Take a look at this post about SharpDevelop, IronPython and form resources
which goes into more detail than I will cover here.
http://community.sharpdevelop.net/blogs/mattward/archive/2009/09/28/IronPythonFormResources.aspx
The basic problem is that the forms designer in SharpDevelop g
Hi,
The Window_Loaded event handler is not being run since it is missing
two parameters. This is causing wpf.LoadComponent to not wire it up
for you. If you change the code to the following then the event
handler will run and you will be able to access the window handle.
def Window_Loaded(sel
If you use the /target:winexe with pyc.py it will add the STAThread
attribute to your main method. That should fix the exception.
In the C# console app you can add the STAThread attribute to the main method:
class Program
{
[STAThread]
static void Main(string[] args)