29 lines
682 B
C#
29 lines
682 B
C#
using System;
|
|
using System.Drawing;
|
|
using System.Reflection;
|
|
using System.Resources;
|
|
using System.Windows.Forms;
|
|
|
|
namespace LSLEditor.Docking
|
|
{
|
|
internal static class ResourceHelper
|
|
{
|
|
private static ResourceManager _resourceManager = null;
|
|
|
|
private static ResourceManager ResourceManager
|
|
{
|
|
get
|
|
{
|
|
if (_resourceManager == null)
|
|
_resourceManager = new ResourceManager("LSLEditor.Docking.Strings", typeof(ResourceHelper).Assembly);
|
|
return _resourceManager;
|
|
}
|
|
|
|
}
|
|
|
|
public static string GetString(string name)
|
|
{
|
|
return ResourceManager.GetString(name);
|
|
}
|
|
}
|
|
}
|