[Mono-bugs] [Bug 338554] New: MessageBox.Show defaultResult does activate the button
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Nov 1 20:09:20 EDT 2007
https://bugzilla.novell.com/show_bug.cgi?id=338554
Summary: MessageBox.Show defaultResult does activate the button
Product: Mono: Class Libraries
Version: 1.2
Platform: All
OS/Version: All
Status: NEW
Severity: Minor
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at ximian.com
ReportedBy: georgegiolfan at yahoo.com
QAContact: mono-bugs at ximian.com
Found By: ---
Description of Problem:
A Windows message box activates the button associated with the specified
default result. A MWF one does not.
Steps to reproduce the problem:
1. Compile and run the following program.
using System.Windows.Forms;
static class Test
{
static void Main ()
{
MessageBox.Show (MessageBox.Show ("Text", "Caption",
MessageBoxButtons.YesNo, MessageBoxIcon.None,
MessageBoxDefaultButton.Button2).ToString ());
}
}
2. Press Enter.
Actual Results:
"Yes"
Expected Results:
"No"
How often does this happen?
Allways.
--
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