Beispiel #1
0
 /// <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.historyControl = new PaintDotNet.HistoryControl();
     this.imageList = new System.Windows.Forms.ImageList(this.components);
     this.toolStrip = new PaintDotNet.SystemLayer.ToolStripEx();
     this.rewindButton = new System.Windows.Forms.ToolStripButton();
     this.undoButton = new System.Windows.Forms.ToolStripButton();
     this.redoButton = new System.Windows.Forms.ToolStripButton();
     this.fastForwardButton = new System.Windows.Forms.ToolStripButton();
     this.clearHistoryButton = new System.Windows.Forms.ToolStripButton();
     this.toolStrip.SuspendLayout();
     this.SuspendLayout();
     //
     // historyControl
     //
     this.historyControl.Dock = System.Windows.Forms.DockStyle.Top;
     this.historyControl.HistoryStack = null;
     this.historyControl.Location = new System.Drawing.Point(0, 0);
     this.historyControl.Name = "historyControl";
     this.historyControl.Size = new System.Drawing.Size(160, 152);
     this.historyControl.TabIndex = 0;
     this.historyControl.HistoryChanged += new System.EventHandler(this.HistoryControl_HistoryChanged);
     this.historyControl.RelinquishFocus += new EventHandler(HistoryControl_RelinquishFocus);
     this.historyControl.ManagedFocus = true;
     //
     // 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.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.rewindButton,
     this.undoButton,
     this.redoButton,
     this.fastForwardButton,
     this.clearHistoryButton});
     this.toolStrip.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow;
     this.toolStrip.Location = new System.Drawing.Point(0, 139);
     this.toolStrip.Name = "toolStrip";
     this.toolStrip.Size = new System.Drawing.Size(160, 19);
     this.toolStrip.TabIndex = 2;
     this.toolStrip.Text = "toolStrip1";
     this.toolStrip.RelinquishFocus += new EventHandler(ToolStrip_RelinquishFocus);
     //
     // rewindButton
     //
     this.rewindButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.rewindButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.rewindButton.Name = "rewindButton";
     this.rewindButton.Size = new System.Drawing.Size(23, 4);
     this.rewindButton.Click += new System.EventHandler(this.OnToolStripButtonClick);
     //
     // undoButton
     //
     this.undoButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.undoButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.undoButton.Name = "undoButton";
     this.undoButton.Size = new System.Drawing.Size(23, 4);
     this.undoButton.Click += new System.EventHandler(this.OnToolStripButtonClick);
     //
     // redoButton
     //
     this.redoButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.redoButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.redoButton.Name = "redoButton";
     this.redoButton.Size = new System.Drawing.Size(23, 4);
     this.redoButton.Click += new System.EventHandler(this.OnToolStripButtonClick);
     //
     // fastForwardButton
     //
     this.fastForwardButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.fastForwardButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.fastForwardButton.Name = "fastForwardButton";
     this.fastForwardButton.Size = new System.Drawing.Size(23, 4);
     this.fastForwardButton.Click += new System.EventHandler(this.OnToolStripButtonClick);
     //
     // clearHistoryButton
     //
     this.clearHistoryButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.clearHistoryButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.clearHistoryButton.Name = "clearHistoryButton";
     this.clearHistoryButton.Size = new System.Drawing.Size(23, 4);
     this.clearHistoryButton.Click += new System.EventHandler(this.OnToolStripButtonClick);
     //
     // HistoryForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
     this.ClientSize = new System.Drawing.Size(165, 158);
     this.Controls.Add(this.toolStrip);
     this.Controls.Add(this.historyControl);
     this.Name = "HistoryForm";
     this.Enter += new System.EventHandler(this.HistoryForm_Enter);
     this.Controls.SetChildIndex(this.historyControl, 0);
     this.Controls.SetChildIndex(this.toolStrip, 0);
     this.toolStrip.ResumeLayout(false);
     this.toolStrip.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Beispiel #2
0
 /// <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.historyControl    = new PaintDotNet.HistoryControl();
     this.imageList         = new System.Windows.Forms.ImageList(this.components);
     this.toolStrip         = new PaintDotNet.SystemLayer.ToolStripEx();
     this.rewindButton      = new System.Windows.Forms.ToolStripButton();
     this.undoButton        = new System.Windows.Forms.ToolStripButton();
     this.redoButton        = new System.Windows.Forms.ToolStripButton();
     this.fastForwardButton = new System.Windows.Forms.ToolStripButton();
     this.toolStrip.SuspendLayout();
     this.SuspendLayout();
     //
     // historyControl
     //
     this.historyControl.Dock             = System.Windows.Forms.DockStyle.Top;
     this.historyControl.HistoryStack     = null;
     this.historyControl.Location         = new System.Drawing.Point(0, 0);
     this.historyControl.Name             = "historyControl";
     this.historyControl.Size             = new System.Drawing.Size(160, 152);
     this.historyControl.TabIndex         = 0;
     this.historyControl.HistoryChanged  += new System.EventHandler(this.HistoryControl_HistoryChanged);
     this.historyControl.RelinquishFocus += new EventHandler(HistoryControl_RelinquishFocus);
     this.historyControl.ManagedFocus     = true;
     //
     // 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.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.rewindButton,
         this.undoButton,
         this.redoButton,
         this.fastForwardButton
     });
     this.toolStrip.LayoutStyle      = System.Windows.Forms.ToolStripLayoutStyle.Flow;
     this.toolStrip.Location         = new System.Drawing.Point(0, 139);
     this.toolStrip.Name             = "toolStrip";
     this.toolStrip.Size             = new System.Drawing.Size(160, 19);
     this.toolStrip.TabIndex         = 2;
     this.toolStrip.Text             = "toolStrip1";
     this.toolStrip.RelinquishFocus += new EventHandler(ToolStrip_RelinquishFocus);
     //
     // rewindButton
     //
     this.rewindButton.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.rewindButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.rewindButton.Name   = "rewindButton";
     this.rewindButton.Size   = new System.Drawing.Size(23, 4);
     this.rewindButton.Click += new System.EventHandler(this.OnToolStripButtonClick);
     //
     // undoButton
     //
     this.undoButton.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.undoButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.undoButton.Name   = "undoButton";
     this.undoButton.Size   = new System.Drawing.Size(23, 4);
     this.undoButton.Click += new System.EventHandler(this.OnToolStripButtonClick);
     //
     // redoButton
     //
     this.redoButton.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.redoButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.redoButton.Name   = "redoButton";
     this.redoButton.Size   = new System.Drawing.Size(23, 4);
     this.redoButton.Click += new System.EventHandler(this.OnToolStripButtonClick);
     //
     // fastForwardButton
     //
     this.fastForwardButton.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.fastForwardButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.fastForwardButton.Name   = "fastForwardButton";
     this.fastForwardButton.Size   = new System.Drawing.Size(23, 4);
     this.fastForwardButton.Click += new System.EventHandler(this.OnToolStripButtonClick);
     //
     // HistoryForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
     this.ClientSize          = new System.Drawing.Size(165, 158);
     this.Controls.Add(this.toolStrip);
     this.Controls.Add(this.historyControl);
     this.Name   = "HistoryForm";
     this.Enter += new System.EventHandler(this.HistoryForm_Enter);
     this.Controls.SetChildIndex(this.historyControl, 0);
     this.Controls.SetChildIndex(this.toolStrip, 0);
     this.toolStrip.ResumeLayout(false);
     this.toolStrip.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }