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

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=428113#c3





--- Comment #3 from Steve Odbc <[EMAIL PROTECTED]>  2008-09-27 05:26:02 MDT ---
First of all: Thanks a lot for fixing #427884, #428107, #428114, #428116,
#428211 so fast!

I can confirm that your icon test case is bugfree, but I was able to rewrite it
so that it doesn't work anymore: If the icon is assigned after the call to
Panels.Add() and the panel's Text property is not updated, no icon will appear.

Rewritten test case:


using System.Drawing;
using System.Windows.Forms;

public class TestForm : Form
{

    public static void Main()
    {
        Application.Run(new TestForm());
    }

    public TestForm()
    {
        StatusBar sb = new StatusBar();

        StatusBarPanel p = new StatusBarPanel();

        sb.ShowPanels = true;

        sb.Panels.Add(p);

        Controls.Add(sb);

        //   p.Text = "Hello";
        p.ToolTipText = "My tooltip";
        p.Icon = SystemIcons.Application;
    }
}


Tested with MONO 2.0 rc1 on WinXP. Icon appears with the MS framework.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to