[Mono-bugs] [Bug 77913][Nor] Changed - NDocGui: Chars & Length sub-entries are shown for string based entries.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Apr 15 10:41:43 EDT 2006


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 gert.driesen at pandora.be.

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

--- shadow/77913	2006-03-25 13:10:36.000000000 -0500
+++ shadow/77913.tmp.7123	2006-04-15 10:41:43.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 77913
 Product: Mono: Class Libraries
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: peter at novonyx.com                            
 ReportedBy: gert.driesen at pandora.be               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -26,6 +26,46 @@
 CopyrightHref, CopyrightText, ....
 
 Note:
 
 Clicking on the value column of the Chars sub-entry crashes the 
 application.
+
+------- Additional Comments From gert.driesen at pandora.be  2006-04-15 10:41 -------
+I've reduced the code necessary to reproduce the issue:
+
+using System;
+using System.ComponentModel;
+using System.Windows.Forms;
+
+public class Test {
+	static void Main() {
+		Application.Run (new TestForm ());
+	}
+
+	public class Config {
+		private string _FeedbackEmailAddress = "something";
+
+		[Category("Documentation")]
+		[Description("Whatever.")]
+		[DefaultValue("")]
+		public string FeedbackEmailAddress {
+			get { return _FeedbackEmailAddress; }
+			set {
+				_FeedbackEmailAddress = value;
+			}
+		}
+	}
+
+	public class TestForm : Form
+	{
+		PropertyGrid _grid;
+		
+		public TestForm() {
+			_grid = new PropertyGrid();
+			_grid.SelectedObject = new Config ();
+
+			this.Controls.Add (_grid);
+		}
+	}
+}
+


More information about the mono-bugs mailing list