From 6b9f0d6bd993eed988a643918103099d8d021327 Mon Sep 17 00:00:00 2001 From: Ian C Date: Sat, 28 Apr 2012 23:13:45 +0000 Subject: Added box drawing and zoom. --- .../EmuKeyboardDesigner/ImageControl.Designer.cs | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'Native/EmuKeyboardDesigner/ImageControl.Designer.cs') diff --git a/Native/EmuKeyboardDesigner/ImageControl.Designer.cs b/Native/EmuKeyboardDesigner/ImageControl.Designer.cs index b181eb3..f829d1f 100644 --- a/Native/EmuKeyboardDesigner/ImageControl.Designer.cs +++ b/Native/EmuKeyboardDesigner/ImageControl.Designer.cs @@ -36,11 +36,13 @@ this.label2 = new System.Windows.Forms.Label(); this.imageBox = new System.Windows.Forms.PictureBox(); this.loadButton = new System.Windows.Forms.Button(); + this.zoom = new System.Windows.Forms.TrackBar(); ((System.ComponentModel.ISupportInitialize)(this.xUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.yUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.heightUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.widthUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imageBox)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.zoom)).BeginInit(); this.SuspendLayout(); // // label1 @@ -128,7 +130,7 @@ | System.Windows.Forms.AnchorStyles.Right))); this.imageBox.Location = new System.Drawing.Point(0, 0); this.imageBox.Name = "imageBox"; - this.imageBox.Size = new System.Drawing.Size(416, 212); + this.imageBox.Size = new System.Drawing.Size(388, 212); this.imageBox.TabIndex = 6; this.imageBox.TabStop = false; // @@ -143,10 +145,26 @@ this.loadButton.UseVisualStyleBackColor = true; this.loadButton.Click += new System.EventHandler(this.OnLoad); // + // zoom + // + this.zoom.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.zoom.AutoSize = false; + this.zoom.LargeChange = 1; + this.zoom.Location = new System.Drawing.Point(386, 104); + this.zoom.Maximum = 4; + this.zoom.Minimum = 1; + this.zoom.Name = "zoom"; + this.zoom.Orientation = System.Windows.Forms.Orientation.Vertical; + this.zoom.Size = new System.Drawing.Size(31, 108); + this.zoom.TabIndex = 8; + this.zoom.Value = 1; + this.zoom.ValueChanged += new System.EventHandler(this.OnZoomChanged); + // // ImageControl // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.zoom); this.Controls.Add(this.loadButton); this.Controls.Add(this.imageBox); this.Controls.Add(this.heightUpDown); @@ -163,6 +181,7 @@ ((System.ComponentModel.ISupportInitialize)(this.heightUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.widthUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.imageBox)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.zoom)).EndInit(); this.ResumeLayout(false); } @@ -177,5 +196,6 @@ private System.Windows.Forms.Label label2; private System.Windows.Forms.PictureBox imageBox; private System.Windows.Forms.Button loadButton; + private System.Windows.Forms.TrackBar zoom; } } -- cgit v1.2.3