[Mono-bugs] [Bug 397271] New: protected override void OnRightToLeftChanged(EventArgs e) is never called

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 4 17:27:03 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=397271


           Summary: protected override void OnRightToLeftChanged(EventArgs
                    e)  is never called
           Product: Mono: Class Libraries
           Version: SVN
          Platform: i686
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: surfzoid2002 at yahoo.fr
         QAContact: mono-bugs at lists.ximian.com
          Found By: DeveloperNet


This event doesn't work in a soft, because :
in the file "System.Windows.Forms/RichTextBox.cs" line 1216 , 
                protected virtual void OnSelectionChanged(EventArgs e) {
                        EventHandler eh = (EventHandler)(Events
[SelectionChangedEvent]);
                        if (eh != null)
                                eh (this, e);
                }

Is never called.

As sayed on IRC, a "OnXXX is never called" Gendarme rule should be nice.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list