Add animation fwd/back buttons

This commit is contained in:
Tim Young 2017-09-18 15:29:00 -05:00
parent 86d956365e
commit e74de637eb
1 changed files with 56 additions and 6 deletions

View File

@ -63,6 +63,10 @@
this.btnNewAnimation = new System.Windows.Forms.Button();
this.pbPreview = new System.Windows.Forms.PictureBox();
this.btnPreview = new System.Windows.Forms.Button();
this.btnReset = new System.Windows.Forms.Button();
this.btnAnimFwd = new System.Windows.Forms.Button();
this.btnAnimBack = new System.Windows.Forms.Button();
this.lblAnimationFwdBack = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.pbImageField)).BeginInit();
this.TCTabPages.SuspendLayout();
this.tpFromImage.SuspendLayout();
@ -106,7 +110,7 @@
// lblChosenArea
//
this.lblChosenArea.AutoSize = true;
this.lblChosenArea.Location = new System.Drawing.Point(129, 44);
this.lblChosenArea.Location = new System.Drawing.Point(125, 33);
this.lblChosenArea.Name = "lblChosenArea";
this.lblChosenArea.Size = new System.Drawing.Size(86, 17);
this.lblChosenArea.TabIndex = 3;
@ -114,7 +118,7 @@
//
// tbNumFrames
//
this.tbNumFrames.Location = new System.Drawing.Point(128, 75);
this.tbNumFrames.Location = new System.Drawing.Point(128, 53);
this.tbNumFrames.Name = "tbNumFrames";
this.tbNumFrames.Size = new System.Drawing.Size(47, 22);
this.tbNumFrames.TabIndex = 4;
@ -122,7 +126,7 @@
// lblFrames
//
this.lblFrames.AutoSize = true;
this.lblFrames.Location = new System.Drawing.Point(67, 75);
this.lblFrames.Location = new System.Drawing.Point(69, 53);
this.lblFrames.Name = "lblFrames";
this.lblFrames.Size = new System.Drawing.Size(55, 17);
this.lblFrames.TabIndex = 5;
@ -218,9 +222,9 @@
// btnBack
//
this.btnBack.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnBack.Location = new System.Drawing.Point(25, 322);
this.btnBack.Location = new System.Drawing.Point(12, 322);
this.btnBack.Name = "btnBack";
this.btnBack.Size = new System.Drawing.Size(29, 23);
this.btnBack.Size = new System.Drawing.Size(32, 23);
this.btnBack.TabIndex = 16;
this.btnBack.Text = "<";
this.btnBack.UseVisualStyleBackColor = true;
@ -231,7 +235,7 @@
this.btnFwd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnFwd.Location = new System.Drawing.Point(177, 322);
this.btnFwd.Name = "btnFwd";
this.btnFwd.Size = new System.Drawing.Size(29, 23);
this.btnFwd.Size = new System.Drawing.Size(32, 23);
this.btnFwd.TabIndex = 17;
this.btnFwd.Text = ">";
this.btnFwd.UseVisualStyleBackColor = true;
@ -259,6 +263,9 @@
//
// tpFromImage
//
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);
@ -411,6 +418,44 @@
this.btnPreview.Text = "Preview";
this.btnPreview.UseVisualStyleBackColor = true;
//
// btnReset
//
this.btnReset.Location = new System.Drawing.Point(426, 280);
this.btnReset.Name = "btnReset";
this.btnReset.Size = new System.Drawing.Size(75, 23);
this.btnReset.TabIndex = 24;
this.btnReset.Text = "Reset";
this.btnReset.UseVisualStyleBackColor = true;
//
// 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.Name = "btnAnimFwd";
this.btnAnimFwd.Size = new System.Drawing.Size(32, 23);
this.btnAnimFwd.TabIndex = 18;
this.btnAnimFwd.Text = ">";
this.btnAnimFwd.UseVisualStyleBackColor = true;
//
// 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(189, 85);
this.btnAnimBack.Name = "btnAnimBack";
this.btnAnimBack.Size = new System.Drawing.Size(32, 23);
this.btnAnimBack.TabIndex = 19;
this.btnAnimBack.Text = "<";
this.btnAnimBack.UseVisualStyleBackColor = true;
//
// lblAnimationFwdBack
//
this.lblAnimationFwdBack.AutoSize = true;
this.lblAnimationFwdBack.Location = new System.Drawing.Point(109, 88);
this.lblAnimationFwdBack.Name = "lblAnimationFwdBack";
this.lblAnimationFwdBack.Size = new System.Drawing.Size(74, 17);
this.lblAnimationFwdBack.TabIndex = 20;
this.lblAnimationFwdBack.Text = "Animation:";
//
// SpriteEntryForm
//
this.AcceptButton = this.btnApply;
@ -418,6 +463,7 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.btnCancel;
this.ClientSize = new System.Drawing.Size(614, 347);
this.Controls.Add(this.btnReset);
this.Controls.Add(this.btnPreview);
this.Controls.Add(this.pbPreview);
this.Controls.Add(this.btnNewAnimation);
@ -494,5 +540,9 @@
private System.Windows.Forms.TextBox tbRotation;
private System.Windows.Forms.Label lblWhichAnim;
private System.Windows.Forms.ComboBox cbAnimation;
private System.Windows.Forms.Label lblAnimationFwdBack;
private System.Windows.Forms.Button btnAnimBack;
private System.Windows.Forms.Button btnAnimFwd;
private System.Windows.Forms.Button btnReset;
}
}