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