Make it possible to change the name of an enum button

This commit is contained in:
LarsBrubaker 2021-09-20 09:20:22 -07:00
parent bd01dfa69a
commit c43ed1e73f
5 changed files with 56 additions and 35 deletions

View file

@ -57,4 +57,14 @@ namespace MatterHackers.MatterControl.DesignTools
public bool InvertIcons { get; set; } = false;
}
public class EnumNameAttribute : Attribute
{
public EnumNameAttribute(string name)
{
this.Name = name;
}
public string Name { get; set; }
}
}