mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-22 13:45:55 +00:00
Initial commit of existing code.
* All renderdoc code up to this point was written by me, history is available by request
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user