[Mono-bugs] [Bug 74719][Wis] New - Patch for System.Windows.Forms.LinkLabel
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 24 Apr 2005 22:32:35 -0400 (EDT)
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 borsanza@gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=74719
--- shadow/74719 2005-04-24 22:32:35.000000000 -0400
+++ shadow/74719.tmp.25144 2005-04-24 22:32:35.000000000 -0400
@@ -0,0 +1,34 @@
+Bug#: 74719
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: borsanza@gmail.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Patch for System.Windows.Forms.LinkLabel
+
+When set LinkArea in LinkLabel, it throw a exception if Length > 0 (error).
+
+Patch for LinkLabel.cs
+
+154c154
+< if (value.Start <0 || value.Length > 0)
+---
+> if (value.Start < 0 || value.Length < 0)
+
+
+Expected Results (From MSDN):
+
+ArgumentException:
+The Start property of the LinkArea object is less than zero.
+-or-
+The Length property of the LinkArea object is less than zero.