From 5420c2131b383a3cefd582a477b23be6136bf76d Mon Sep 17 00:00:00 2001 From: Tim Young Date: Wed, 20 Sep 2017 10:49:04 -0500 Subject: [PATCH] Move animation fwd bck out of tab-page --- SpriteLibrary/SpriteEntryForm.Designer.cs | 31 +++++++++++++++++------ 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/SpriteLibrary/SpriteEntryForm.Designer.cs b/SpriteLibrary/SpriteEntryForm.Designer.cs index c236679..9eabd9c 100644 --- a/SpriteLibrary/SpriteEntryForm.Designer.cs +++ b/SpriteLibrary/SpriteEntryForm.Designer.cs @@ -70,12 +70,14 @@ this.btnReset = new System.Windows.Forms.Button(); this.btnPreviewAnimFwd = new System.Windows.Forms.Button(); this.btnPreviewAnimBack = new System.Windows.Forms.Button(); + this.pnlAnimationFWBK = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.pbImageField)).BeginInit(); this.TCTabPages.SuspendLayout(); this.tpFromImage.SuspendLayout(); this.tpMirrorRotate.SuspendLayout(); this.panelRadioButtons.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pbPreview)).BeginInit(); + this.pnlAnimationFWBK.SuspendLayout(); this.SuspendLayout(); // // pbImageField @@ -266,10 +268,6 @@ // // tpFromImage // - this.tpFromImage.Controls.Add(this.lblAnimationNumber); - this.tpFromImage.Controls.Add(this.lblAnimationFwdBack); - this.tpFromImage.Controls.Add(this.btnAnimBack); - this.tpFromImage.Controls.Add(this.btnAnimFwd); this.tpFromImage.Controls.Add(this.cbStartingImage); this.tpFromImage.Controls.Add(this.lblStartingImage); this.tpFromImage.Controls.Add(this.lblChosenArea); @@ -286,7 +284,7 @@ // lblAnimationNumber // this.lblAnimationNumber.AutoSize = true; - this.lblAnimationNumber.Location = new System.Drawing.Point(190, 91); + this.lblAnimationNumber.Location = new System.Drawing.Point(42, 24); this.lblAnimationNumber.Name = "lblAnimationNumber"; this.lblAnimationNumber.Size = new System.Drawing.Size(16, 17); this.lblAnimationNumber.TabIndex = 21; @@ -295,7 +293,7 @@ // lblAnimationFwdBack // this.lblAnimationFwdBack.AutoSize = true; - this.lblAnimationFwdBack.Location = new System.Drawing.Point(69, 88); + this.lblAnimationFwdBack.Location = new System.Drawing.Point(6, -4); this.lblAnimationFwdBack.Name = "lblAnimationFwdBack"; this.lblAnimationFwdBack.Size = new System.Drawing.Size(74, 17); this.lblAnimationFwdBack.TabIndex = 20; @@ -304,7 +302,7 @@ // btnAnimBack // this.btnAnimBack.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.btnAnimBack.Location = new System.Drawing.Point(149, 85); + this.btnAnimBack.Location = new System.Drawing.Point(4, 18); this.btnAnimBack.Name = "btnAnimBack"; this.btnAnimBack.Size = new System.Drawing.Size(32, 23); this.btnAnimBack.TabIndex = 19; @@ -315,7 +313,7 @@ // btnAnimFwd // this.btnAnimFwd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.btnAnimFwd.Location = new System.Drawing.Point(227, 85); + this.btnAnimFwd.Location = new System.Drawing.Point(96, 18); this.btnAnimFwd.Name = "btnAnimFwd"; this.btnAnimFwd.Size = new System.Drawing.Size(32, 23); this.btnAnimFwd.TabIndex = 18; @@ -496,6 +494,19 @@ this.btnPreviewAnimBack.UseVisualStyleBackColor = true; this.btnPreviewAnimBack.Click += new System.EventHandler(this.btnPreviewAnimBack_Click); // + // pnlAnimationFWBK + // + this.pnlAnimationFWBK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.pnlAnimationFWBK.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlAnimationFWBK.Controls.Add(this.lblAnimationNumber); + this.pnlAnimationFWBK.Controls.Add(this.lblAnimationFwdBack); + this.pnlAnimationFWBK.Controls.Add(this.btnAnimFwd); + this.pnlAnimationFWBK.Controls.Add(this.btnAnimBack); + this.pnlAnimationFWBK.Location = new System.Drawing.Point(469, 223); + this.pnlAnimationFWBK.Name = "pnlAnimationFWBK"; + this.pnlAnimationFWBK.Size = new System.Drawing.Size(133, 44); + this.pnlAnimationFWBK.TabIndex = 27; + // // SpriteEntryForm // this.AcceptButton = this.btnApply; @@ -525,6 +536,7 @@ this.Controls.Add(this.lblSpriteName); this.Controls.Add(this.tbSpriteName); this.Controls.Add(this.pbImageField); + this.Controls.Add(this.pnlAnimationFWBK); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; @@ -540,6 +552,8 @@ this.panelRadioButtons.ResumeLayout(false); this.panelRadioButtons.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pbPreview)).EndInit(); + this.pnlAnimationFWBK.ResumeLayout(false); + this.pnlAnimationFWBK.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); @@ -589,5 +603,6 @@ private System.Windows.Forms.Button btnPreviewAnimFwd; private System.Windows.Forms.Button btnPreviewAnimBack; private System.Windows.Forms.Label lblAnimationNumber; + private System.Windows.Forms.Panel pnlAnimationFWBK; } } \ No newline at end of file