[Mono-bugs] [Bug 343972] New: MenuStrip: Alt+U does not open menu
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Nov 26 05:32:04 EST 2007
https://bugzilla.novell.com/show_bug.cgi?id=343972
Summary: MenuStrip: Alt+U does not open menu
Product: Mono: Class Libraries
Version: 1.2.6
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at ximian.com
ReportedBy: kobruleht2 at hot.ee
QAContact: mono-bugs at ximian.com
Found By: ---
To reproduce:
1. Run code
2. Press Alt+U
Observed:
User menu is not opened
Expected:
User menu should opened
Environment:
1.2.6 preview 2
NET 2 profile
System.Drawing from Nov 24, 2007 monocharge
Windows XP
VCSE 2008
using System;
using System.Windows.Forms;
public class Test {
static void Main() {
Application.Run(new Form1());
}
}
class Form1 : Form {
public Form1() {
menuStrip1 = new MenuStrip();
fileToolStripMenuItem = new ToolStripMenuItem();
openToolStripMenuItem = new ToolStripMenuItem();
userToolStripMenuItem = new ToolStripMenuItem();
loginToolStripMenuItem = new ToolStripMenuItem();
menuStrip1.Items.AddRange(new ToolStripItem[] {
fileToolStripMenuItem,
userToolStripMenuItem});
menuStrip1.TabIndex = 0;
fileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] {
openToolStripMenuItem});
fileToolStripMenuItem.Text = "File";
openToolStripMenuItem.Text = "Open";
userToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] {
loginToolStripMenuItem
});
userToolStripMenuItem.Text = "&User";
loginToolStripMenuItem.Text = "Login";
Controls.Add(menuStrip1);
MainMenuStrip = menuStrip1;
menuStrip1.PerformLayout();
PerformLayout();
}
MenuStrip menuStrip1;
ToolStripMenuItem fileToolStripMenuItem;
ToolStripMenuItem openToolStripMenuItem;
ToolStripMenuItem userToolStripMenuItem;
ToolStripMenuItem loginToolStripMenuItem;
}
--
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