Free cookie consent management tool by TermsFeed Policy Generator

source: branches/Persistence Test/WinFormsUI/Docking/Helpers/ResourceHelper.cs @ 3962

Last change on this file since 3962 was 2134, checked in by gkronber, 15 years ago

Added up to date source of Weifen Luo dock panel suit in a separate project (and added strong name key). Removed binary versions of Weifen Luo dock panel suite and references to it. #687 (Update AdvancedOptimizationFrontend to use more recent version of Weifen Luo Docking library)

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.