mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 05:20:45 +00:00
c38affcded
* All renderdoc code up to this point was written by me, history is available by request
30 lines
740 B
C#
30 lines
740 B
C#
using System;
|
|
using System.Drawing;
|
|
using System.Reflection;
|
|
using System.Resources;
|
|
using System.Windows.Forms;
|
|
|
|
namespace WeifenLuo.WinFormsUI.Docking
|
|
{
|
|
internal static class ResourceHelper
|
|
{
|
|
private static ResourceManager _resourceManager = null;
|
|
|
|
private static ResourceManager ResourceManager
|
|
{
|
|
get
|
|
{
|
|
if (_resourceManager == null)
|
|
_resourceManager = new ResourceManager("WeifenLuo.WinFormsUI.Docking.Strings", typeof(ResourceHelper).Assembly);
|
|
return _resourceManager;
|
|
}
|
|
|
|
}
|
|
|
|
public static string GetString(string name)
|
|
{
|
|
return ResourceManager.GetString(name);
|
|
}
|
|
}
|
|
}
|