Milestone: Got LSL Editor to open once more

This commit is contained in:
Tara 2022-12-15 09:42:07 -07:00
parent 96c2e0f49c
commit 71cf04e433
10 changed files with 6590 additions and 5364 deletions

View file

@ -0,0 +1,35 @@
using LSLEditor.Solution;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LSLEditor.Images
{
public static class ImagesHelper
{
public enum ImageType
{
Class,
CloseActive,
CloseDisabled,
CloseInactive,
Constants,
Enum,
Events,
Functions,
logo,
Namespace,
Properties,
SealedClass,
States,
Unknown,
Vars
}
public static Bitmap getImageByType(this ImageType type)
{
return (Bitmap)typeof(Images).GetProperty(type.ToString()).GetValue(new Images());
}
}
}