Database Reference
In-Depth Information
thi s.fileMenu.DropDownItems.AddRange(new
System.Windows.Forms.ToolStripItem[] {
this.newToolStripMenuItem,
this.openToolStripMenuItem,
this.toolStripSeparator3,
this.saveToolStripMenuItem,
this.saveAsToolStripMenuItem,
this.toolStripSeparator4,
this.printToolStripMenuItem,
this.printPreviewToolStripMenuItem,
this.printSetupToolStripMenuItem,
this.toolStripSeparator5,
this.exitToolStripMenuItem});
this.fileMenu.ImageTransparentColor = System.
Drawing.SystemColors.ActiveBorder;
this.fileMenu.Name = “fileMenu”;
this.fileMenu.Size = new System.Drawing.
Size(37, 20);
this.fileMenu.Text = “&File”;
//
//newToolStripMenuItem
//
this.newToolStripMenuItem.Image = ((System.
Drawing.Image)(resources.
GetObject(“newToolStripMenuItem.Image”)));
thi s.newToolStripMenuItem.
ImageTransparentColor = System.Drawing.
Color.Black;
thi s.newToolStripMenuItem.Name =
“newToolStripMenuItem”;
thi s.newToolStripMenuItem.ShortcutKeys =
((System.Windows.Forms.Keys)((System.
Windows.Forms.Keys.Control | System.
Windows.Forms.Keys.N)));
this.newToolStripMenuItem.Size = new System.
Drawing.Size(146, 22);
this.newToolStripMenuItem.Text = “&New”;
this.newToolStripMenuItem.Click + = new
System.EventHandler(this.ShowNewForm);
//
//openToolStripMenuItem
//
this.openToolStripMenuItem.Image = ((System.
Drawing.Image)(resources.GetObject(“openToo
lStripMenuItem.Image”)));
Search WWH ::




Custom Search