private void InitializeComponent() { this.fileMenu = new FileMenu(); this.editMenu = new EditMenu(); this.viewMenu = new ViewMenu(); this.imageMenu = new ImageMenu(); this.adjustmentsMenu = new AdjustmentsMenu(); this.effectsMenu = new EffectsMenu(); this.layersMenu = new LayersMenu(); this.windowMenu = new WindowMenu(); this.helpMenu = new HelpMenu(); SuspendLayout(); // // PdnMainMenu // this.Name = "PdnMainMenu"; this.LayoutStyle = ToolStripLayoutStyle.HorizontalStackWithOverflow; this.Items.AddRange( new ToolStripItem[] { this.fileMenu, this.editMenu, this.viewMenu, this.imageMenu, this.layersMenu, this.adjustmentsMenu, this.effectsMenu, this.windowMenu, this.helpMenu }); ResumeLayout(); }
private void InitializeComponent() { this.fileMenu = new FileMenu(); this.editMenu = new EditMenu(); this.viewMenu = new ViewMenu(); this.imageMenu = new ImageMenu(); this.adjustmentsMenu = new AdjustmentsMenu(); this.effectsMenu = new EffectsMenu(); this.layersMenu = new LayersMenu(); base.SuspendLayout(); base.Name = "PdnMainMenu"; base.LayoutStyle = ToolStripLayoutStyle.HorizontalStackWithOverflow; ToolStripItem[] toolStripItems = new ToolStripItem[] { this.fileMenu, this.editMenu, this.viewMenu, this.imageMenu, this.layersMenu, this.adjustmentsMenu, this.effectsMenu }; this.Items.AddRange(toolStripItems); base.ResumeLayout(); }