AGS.Editor.SpriteSelector.DeleteKeyPressed C# (CSharp) Method

DeleteKeyPressed() public method

public DeleteKeyPressed ( ) : void
return void
        public void DeleteKeyPressed()
        {
            if ((folderList.Focused) && (folderList.SelectedNode != null))
            {
                DeleteFolder(folderList.SelectedNode);
            }
            else if ((spriteList.Focused) && (spriteList.SelectedItems.Count > 0))
            {
                DeleteSelectedSprites();
            }
        }