[Mono-devel-list] FolderBrowseDialog fails

Vorobiev Maksim MVorobiev at croc.ru
Tue May 24 13:15:09 EDT 2005


Good day.
 
Creation of instance of System.Windows.Forms.FileBrowseDialog failed for
me at constructor call with Mono version 1.1.7. I've ran my program
under "ru" locale. So, constructor failed at the line 532:
imageList.Images.Add( (Image)Locale.GetResource( "monitor-planet" ) );
 
debug mode shows, that the problem - null reference passed to Add
method. This is because "monitor-planet" resource is not defined in file
System.Windows.Forms.resx. Then I copied resource "monitor-planet"
definition from System.Windows.Forms.de.resx file and recompiled mono
project (especially System.Windows.Forms.dll). Now everything is working
file. My question is: is it correct method and how to fix this issue for
next Mono release? Can I supply the patch and where should I post it?
 
Thanks.
 
 
http://www.croc.ru
mvorobiev at croc.ru
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050524/d8bfd39c/attachment.html 


More information about the Mono-devel-list mailing list