Line | |
---|
1 | using System.Resources;
|
---|
2 |
|
---|
3 | namespace WeifenLuo.WinFormsUI.Docking {
|
---|
4 | internal static class ResourceHelper {
|
---|
5 | private static ResourceManager _resourceManager = null;
|
---|
6 |
|
---|
7 | private static ResourceManager ResourceManager {
|
---|
8 | get {
|
---|
9 | if (_resourceManager == null)
|
---|
10 | _resourceManager = new ResourceManager("WeifenLuo.WinFormsUI.Docking.Strings", typeof(ResourceHelper).Assembly);
|
---|
11 | return _resourceManager;
|
---|
12 | }
|
---|
13 |
|
---|
14 | }
|
---|
15 |
|
---|
16 | public static string GetString(string name) {
|
---|
17 | return ResourceManager.GetString(name);
|
---|
18 | }
|
---|
19 | }
|
---|
20 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.