[Mono-winforms-list] Value is not a convertible object: System.Drawing.Bitmap to System.Drawing.Image
Andrus
eetasoft at online.ee
Sat Oct 27 15:12:15 EDT 2007
My Winforms C# 2005 Express .NET 2 application running under MONO 1.2.5
causes exception
Value is not a convertible object: System.Drawing.Bitmap to
System.Drawing.Image
Stack trace: at System.Convert.ToType (System.Object value, System.Type
conversionType, IFormatProvider provider) [0x00000]
at System.Convert.ChangeType (System.Object value, System.Type
conversionType) [0x00000]
at System.ComponentModel.ComponentResourceManager.ApplyResources
(System.Object value, System.String objectName,
System.Globalization.CultureInfo culture) [0x00000]
at System.ComponentModel.ComponentResourceManager.ApplyResources
(System.Object value, System.String objectName) [0x00000]
at MyApp.MainForm.InitializeComponent () [0x00000]
at MyApp.MainForm..ctor () [0x00000]
at (wrapper remoting-invoke-with-check) MyApp.MainForm:.ctor ()
at MyApp.AppMainEntry.MainLoop () [0x00000]
...
How to fix ?
Is this known issue ?
My application is complied in debug mode in VCSE 2005.
How to force MONO to show line numbers in stack trace so I can find which
ApplyResources ()
call causes exception ?
Andrus.
More information about the Mono-winforms-list
mailing list