/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.layerControl = new LayerControl(); this.imageList = new ImageList(this.components); this.toolStrip = new SystemLayer.ToolStripEx(); this.addNewLayerButton = new ToolStripButton(); this.deleteLayerButton = new ToolStripButton(); this.duplicateLayerButton = new ToolStripButton(); this.mergeLayerDownButton = new ToolStripButton(); this.moveLayerUpButton = new ToolStripButton(); this.moveLayerDownButton = new ToolStripButton(); this.propertiesButton = new ToolStripButton(); this.toolStrip.SuspendLayout(); this.SuspendLayout(); // // layerControl // this.layerControl.Dock = System.Windows.Forms.DockStyle.Fill; this.layerControl.Document = null; this.layerControl.Location = new System.Drawing.Point(0, 0); this.layerControl.Name = "layerControl"; this.layerControl.Size = new System.Drawing.Size(160, 158); this.layerControl.TabIndex = 5; this.layerControl.AppWorkspace = null; this.layerControl.ActiveLayerChanged += this.LayerControl_ClickOnLayer; this.layerControl.ClickedOnLayer += this.LayerControl_ClickOnLayer; this.layerControl.DoubleClickedOnLayer += this.LayerControl_DoubleClickedOnLayer; this.layerControl.RelinquishFocus += new EventHandler(LayerControl_RelinquishFocus); // // imageList // this.imageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit; this.imageList.ImageSize = new System.Drawing.Size(16, 16); this.imageList.TransparentColor = System.Drawing.Color.Transparent; // // toolStrip // this.toolStrip.Dock = System.Windows.Forms.DockStyle.Bottom; this.toolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.addNewLayerButton, this.deleteLayerButton, this.duplicateLayerButton, this.mergeLayerDownButton, this.moveLayerUpButton, this.moveLayerDownButton, this.propertiesButton }); this.toolStrip.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow; this.toolStrip.Location = new System.Drawing.Point(0, 132); this.toolStrip.Name = "toolStrip"; this.toolStrip.Size = new System.Drawing.Size(160, 26); this.toolStrip.TabIndex = 7; this.toolStrip.TabStop = true; this.toolStrip.RelinquishFocus += new EventHandler(ToolStrip_RelinquishFocus); // // addNewLayerButton // this.addNewLayerButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.addNewLayerButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.addNewLayerButton.Name = "addNewLayerButton"; this.addNewLayerButton.Size = new System.Drawing.Size(23, 4); this.addNewLayerButton.Click += new System.EventHandler(this.OnToolStripButtonClick); // // deleteLayerButton // this.deleteLayerButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.deleteLayerButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.deleteLayerButton.Name = "deleteLayerButton"; this.deleteLayerButton.Size = new System.Drawing.Size(23, 4); this.deleteLayerButton.Click += new System.EventHandler(this.OnToolStripButtonClick); // // duplicateLayerButton // this.duplicateLayerButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.duplicateLayerButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.duplicateLayerButton.Name = "duplicateLayerButton"; this.duplicateLayerButton.Size = new System.Drawing.Size(23, 4); this.duplicateLayerButton.Click += new System.EventHandler(this.OnToolStripButtonClick); // // mergeLayerDownButton // this.mergeLayerDownButton.DisplayStyle = ToolStripItemDisplayStyle.Image; this.mergeLayerDownButton.Name = "mergeLayerDownButton"; this.mergeLayerDownButton.Click += new EventHandler(OnToolStripButtonClick); // // moveLayerUpButton // this.moveLayerUpButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.moveLayerUpButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.moveLayerUpButton.Name = "moveLayerUpButton"; this.moveLayerUpButton.Size = new System.Drawing.Size(23, 4); this.moveLayerUpButton.Click += new System.EventHandler(this.OnToolStripButtonClick); // // moveLayerDownButton // this.moveLayerDownButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.moveLayerDownButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.moveLayerDownButton.Name = "moveLayerDownButton"; this.moveLayerDownButton.Size = new System.Drawing.Size(23, 4); this.moveLayerDownButton.Click += new System.EventHandler(this.OnToolStripButtonClick); // // propertiesButton // this.propertiesButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.propertiesButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.propertiesButton.Name = "propertiesButton"; this.propertiesButton.Size = new System.Drawing.Size(23, 4); this.propertiesButton.Click += new System.EventHandler(this.OnToolStripButtonClick); // // LayerForm // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.AutoValidate = System.Windows.Forms.AutoValidate.EnablePreventFocusChange; this.ClientSize = new System.Drawing.Size(165, 158); this.Controls.Add(this.toolStrip); this.Controls.Add(this.layerControl); this.Name = "LayersForm"; this.Controls.SetChildIndex(this.layerControl, 0); this.Controls.SetChildIndex(this.toolStrip, 0); this.toolStrip.ResumeLayout(false); this.toolStrip.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.layerControl = new LayerControl(); this.imageList = new ImageList(this.components); this.toolStrip = new SystemLayer.ToolStripEx(); this.addNewLayerButton = new ToolStripButton(); this.deleteLayerButton = new ToolStripButton(); this.duplicateLayerButton = new ToolStripButton(); this.mergeLayerDownButton = new ToolStripButton(); this.moveLayerUpButton = new ToolStripButton(); this.moveLayerDownButton = new ToolStripButton(); this.propertiesButton = new ToolStripButton(); this.toolStrip.SuspendLayout(); this.SuspendLayout(); // // layerControl // this.layerControl.Dock = System.Windows.Forms.DockStyle.Fill; this.layerControl.Document = null; this.layerControl.Location = new System.Drawing.Point(0, 0); this.layerControl.Name = "layerControl"; this.layerControl.Size = new System.Drawing.Size(160, 158); this.layerControl.TabIndex = 5; this.layerControl.AppWorkspace = null; this.layerControl.ActiveLayerChanged += new PaintDotNet.LayerEventHandler(this.LayerControl_ClickOnLayer); this.layerControl.ClickedOnLayer += new PaintDotNet.LayerEventHandler(this.LayerControl_ClickOnLayer); this.layerControl.DoubleClickedOnLayer += new PaintDotNet.LayerEventHandler(this.LayerControl_DoubleClickedOnLayer); this.layerControl.RelinquishFocus += new EventHandler(LayerControl_RelinquishFocus); // // imageList // this.imageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit; this.imageList.ImageSize = new System.Drawing.Size(16, 16); this.imageList.TransparentColor = System.Drawing.Color.Transparent; // // toolStrip // this.toolStrip.Dock = System.Windows.Forms.DockStyle.Bottom; this.toolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.addNewLayerButton, this.deleteLayerButton, this.duplicateLayerButton, this.mergeLayerDownButton, this.moveLayerUpButton, this.moveLayerDownButton, this.propertiesButton }); this.toolStrip.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow; this.toolStrip.Location = new System.Drawing.Point(0, 132); this.toolStrip.Name = "toolStrip"; this.toolStrip.Size = new System.Drawing.Size(160, 26); this.toolStrip.TabIndex = 7; this.toolStrip.TabStop = true; this.toolStrip.RelinquishFocus += new EventHandler(ToolStrip_RelinquishFocus); // // addNewLayerButton // this.addNewLayerButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.addNewLayerButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.addNewLayerButton.Name = "addNewLayerButton"; this.addNewLayerButton.Size = new System.Drawing.Size(23, 4); this.addNewLayerButton.Click += new System.EventHandler(this.OnToolStripButtonClick); // // deleteLayerButton // this.deleteLayerButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.deleteLayerButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.deleteLayerButton.Name = "deleteLayerButton"; this.deleteLayerButton.Size = new System.Drawing.Size(23, 4); this.deleteLayerButton.Click += new System.EventHandler(this.OnToolStripButtonClick); // // duplicateLayerButton // this.duplicateLayerButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.duplicateLayerButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.duplicateLayerButton.Name = "duplicateLayerButton"; this.duplicateLayerButton.Size = new System.Drawing.Size(23, 4); this.duplicateLayerButton.Click += new System.EventHandler(this.OnToolStripButtonClick); // // mergeLayerDownButton // this.mergeLayerDownButton.DisplayStyle = ToolStripItemDisplayStyle.Image; this.mergeLayerDownButton.Name = "mergeLayerDownButton"; this.mergeLayerDownButton.Click += new EventHandler(OnToolStripButtonClick); // // moveLayerUpButton // this.moveLayerUpButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.moveLayerUpButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.moveLayerUpButton.Name = "moveLayerUpButton"; this.moveLayerUpButton.Size = new System.Drawing.Size(23, 4); this.moveLayerUpButton.Click += new System.EventHandler(this.OnToolStripButtonClick); // // moveLayerDownButton // this.moveLayerDownButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.moveLayerDownButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.moveLayerDownButton.Name = "moveLayerDownButton"; this.moveLayerDownButton.Size = new System.Drawing.Size(23, 4); this.moveLayerDownButton.Click += new System.EventHandler(this.OnToolStripButtonClick); // // propertiesButton // this.propertiesButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.propertiesButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.propertiesButton.Name = "propertiesButton"; this.propertiesButton.Size = new System.Drawing.Size(23, 4); this.propertiesButton.Click += new System.EventHandler(this.OnToolStripButtonClick); // // LayerForm // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.AutoValidate = System.Windows.Forms.AutoValidate.EnablePreventFocusChange; this.ClientSize = new System.Drawing.Size(165, 158); this.Controls.Add(this.toolStrip); this.Controls.Add(this.layerControl); this.Name = "LayersForm"; this.Controls.SetChildIndex(this.layerControl, 0); this.Controls.SetChildIndex(this.toolStrip, 0); this.toolStrip.ResumeLayout(false); this.toolStrip.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }