get cancel button working
This commit is contained in:
parent
9754afd4cd
commit
ed09c5602c
1
SpriteLibrary/SpriteEntryForm.Designer.cs
generated
1
SpriteLibrary/SpriteEntryForm.Designer.cs
generated
@ -174,6 +174,7 @@
|
|||||||
this.btnCancel.TabIndex = 9;
|
this.btnCancel.TabIndex = 9;
|
||||||
this.btnCancel.Text = "Cancel";
|
this.btnCancel.Text = "Cancel";
|
||||||
this.btnCancel.UseVisualStyleBackColor = true;
|
this.btnCancel.UseVisualStyleBackColor = true;
|
||||||
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
||||||
//
|
//
|
||||||
// btnApply
|
// btnApply
|
||||||
//
|
//
|
||||||
|
@ -68,6 +68,7 @@ namespace SpriteLibrary
|
|||||||
public Sprite CreateSprite(SpriteController ControllerToUse, SpriteDatabase TheDatabaseToUse)
|
public Sprite CreateSprite(SpriteController ControllerToUse, SpriteDatabase TheDatabaseToUse)
|
||||||
{
|
{
|
||||||
Sprite DestSprite = null;
|
Sprite DestSprite = null;
|
||||||
|
if (ControllerToUse == null) return null;
|
||||||
for (int index = 0; index < Animations.Count; index++)
|
for (int index = 0; index < Animations.Count; index++)
|
||||||
{
|
{
|
||||||
AnimationInfo CurrentAnimation = Animations[index];
|
AnimationInfo CurrentAnimation = Animations[index];
|
||||||
|
Loading…
Reference in New Issue
Block a user