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


           Summary: MessageBox: two buttons have default shape, unexpected
                    closes
           Product: Mono: Class Libraries
           Version: SVN
          Platform: x86
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


To reproduce, run code.

Observed:

Retry and Ignore buttons both have default button shape.

Expected:

Only Ignore button should be marked as default button 


Observed:

clicking cross in upper right window or pressing esc key closes messagebox

Expected:

clicking cross in upper right window or pressing esc key should not close
messagebox


using System;
using System.Windows.Forms;

public static class AppMainEntry
{
    public static void Main()
    {
        Application.EnableVisualStyles();

        MessageBox.Show("", "",
                        MessageBoxButtons.AbortRetryIgnore,
                    MessageBoxIcon.Exclamation,
MessageBoxDefaultButton.Button3);
    }
}


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

Reply via email to