http://bugzilla.novell.com/show_bug.cgi?id=587563

http://bugzilla.novell.com/show_bug.cgi?id=587563#c0


           Summary: problem with Paint action.
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: i586
        OS/Version: openSUSE 11.2
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Drawing.
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: DeveloperNet
           Blocker: ---


Description of Problem:


Steps to reproduce the problem:
1. Add statusStrip1 to windows form.
2. Add StatusLabel1 to statusStrip.
2. Add toolStripStatusLabel1.Paint action like this:

private void toolStripStatusLabel1_Paint(object sender, PaintEventArgs e)
        {
            e.Graphics.FillRectangle(new SolidBrush(Color.Lime), (sender as
ToolStripStatusLabel).ContentRectangle);
        }


Actual Results: 
Under Microsoft Framework whe will get only red rectangel.
Under mono in OpenSuSe 11.2 whe will get red rectangel and text of label ower
it.
I think in mono at first work user Paint action, and then work base.Paint(...)!
Its wrong!!!!!

The same problem with dataGridView control!!!

There no this problem for control Label, it's work fine.

-- 
Configure bugmail: http://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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to