Return a spriteinfo list from the entry form

This commit is contained in:
2017-09-15 19:15:37 -05:00
parent 846d4b569f
commit 23814be473
2 changed files with 26 additions and 7 deletions

View File

@ -81,6 +81,17 @@ namespace SpriteLibrary
return false;
}
public void OpenEditWindow(int FirstItemIndex=-1)
{
SpriteEntryForm SEF = new SpriteEntryForm(myResourceManager, SpriteInfoList);
SEF.ShowDialog();
//Use the updated list returned from the form.
SpriteInfoList.Clear();
SpriteInfoList.AddRange(SEF.GetUpdatedList());
}
#endregion
#region General Functions
public Image GetImageFromName(string Name, bool UseSmartImages)
{
Image MyImage = null;