Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=80565

--- shadow/80565        2007-01-30 17:35:52.000000000 -0500
+++ shadow/80565.tmp.21267      2007-01-31 18:15:09.000000000 -0500
@@ -1,13 +1,13 @@
 Bug#: 80565
 Product: Mono: Class Libraries
 Version: 1.2
 OS: unknown
 OS Details: Ubuntu Edgy
-Status: ASSIGNED   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
 Component: Sys.Drawing.
 AssignedTo: [EMAIL PROTECTED]                            
 ReportedBy: [EMAIL PROTECTED]               
 QAContact: [EMAIL PROTECTED]
@@ -160,6 +160,27 @@
 
 ------- Additional Comments From [EMAIL PROTECTED]  2007-01-30 17:35 -------
 I knew icon selection to get the image is undocumented, but it's the
 first time I see a difference between 1.1 and 2.0. Anyway this is
 another issue (not related to resgen). Feel free to open a new bug
 report for it (marking it [2.0]).
+
+------- Additional Comments From [EMAIL PROTECTED]  2007-01-31 18:15 -------
+Closing. I get the same results with Mono and MS 2.0 using this sample.
+
+using System;
+using System.Collections;
+using System.Drawing;
+using System.Resources;
+
+class Program {
+       static void Main (string[] args)
+       {
+//             ResXResourceSet res = new ResXResourceSet ("Resources.resx");
+               ResourceSet res = new ResourceSet ("Resources.resources");
+               foreach (DictionaryEntry de in res) {
+                       Bitmap b = (Bitmap) res.GetObject ((string)de.Key);
+                       Console.WriteLine ("{0}: {1}", de.Key, b.RawFormat);
+               }
+       }
+}
+
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to