[Mono-dev] BUG? System.Windows.Forms not working with resources?

Peter Dennis Bartok peter at novonyx.com
Fri Jul 7 09:15:21 EDT 2006


Thaqt's news to me that that method is not implemented. Usually works just 
fine. Can you create a sample (or post or privately provide your 
application) so we can test this? Silent failure is not intended.

Peter

-----Original Message-----
From: ""Andrés G. Aragoneses [ knocte ]"" <knocte at gmail.com>
To: <mono-devel-list at lists.ximian.com>
Date: Friday, 07 July, 2006 04:02
Subject: [Mono-dev] BUG? System.Windows.Forms not working with resources?


Hello.

I have just downloaded Mono 1.1.16 today and tried a SWF application
with it. It failed silently (no exceptions thrown!! :( ), so I began
debugging it and I have discovered that mono exits when reaches the
following line:

this.pictureBox3.Image =
((System.Drawing.Image)(resources.GetObject("pictureBox3.Image")));

I have investigated a bit and found that the GetObject method is not
implemented:

http://svn.myrealbox.com/viewcvs/trunk/mcs/class/System/System.ComponentModel/ComponentResourceManager.cs?view=markup

Is this supposed to be implemented in the upcoming Mono 1.2? Is correct
the behaviour of failing silently? I have made a minimal testcase with
an image as a resource that shows this problem, should I create a bug in
bugzilla and attach it to the bug?

Regards,

Andrés [ knocte ]

-- 

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list





More information about the Mono-devel-list mailing list