[Mono-bugs] [Bug 457734] New: MessageBox: two buttons have default shape, unexpected closes

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Dec 9 14:02:33 EST 2008


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: mono-bugs at lists.ximian.com
        ReportedBy: kobruleht2 at hot.ee
         QAContact: mono-bugs at lists.ximian.com
          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.


More information about the mono-bugs mailing list