diff --git a/CSharp/Engines/WindowsForms/Libraries/UniversalEditor.UserInterface.WindowsForms/Editor.cs b/CSharp/Engines/WindowsForms/Libraries/UniversalEditor.UserInterface.WindowsForms/Editor.cs index 5b77000d..78ddf90f 100644 --- a/CSharp/Engines/WindowsForms/Libraries/UniversalEditor.UserInterface.WindowsForms/Editor.cs +++ b/CSharp/Engines/WindowsForms/Libraries/UniversalEditor.UserInterface.WindowsForms/Editor.cs @@ -479,5 +479,16 @@ namespace UniversalEditor.UserInterface.WindowsForms } } } + + public Image GetThemeImage(string path) + { + string fileName = String.Join(System.IO.Path.DirectorySeparatorChar.ToString(), new string[] + { + "Editors", + this.GetType().FullName, + path + }); + return AwesomeControls.Theming.Theme.CurrentTheme.GetImage(fileName); + } } }