Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebJobManager/HeuristicLab.ExtLibs/HeuristicLab.WinFormsUI/2.7.0/WinFormsUI-2.7.0/Docking/Helpers/ResourceHelper.cs

Last change on this file was 8616, checked in by mkommend, 12 years ago

#1939: Added DockPanelSuite 2.7.0 to ExtLibs.

File size: 733 bytes
Line 
1using System;
2using System.Drawing;
3using System.Reflection;
4using System.Resources;
5using System.Windows.Forms;
6
7namespace 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.