/// <summary> /// Get specified text from resources. Needed for obfuscated strings tables. /// </summary> /// <param name="Name">The name of string.</param> /// <returns>Returns specified text.</returns> public override string OnGetText(string Name) { if (Name == REXConst.ENG_ResModuleDescription) { return(Resources.Strings.Texts.REX_ModuleDescription); } if (Name == REXConst.ENG_ResVersionInfo) { return(Resources.Strings.Texts.REX_VersionInfo); } // insert code here. if (ExtensionRef != null) { string result = ExtensionRef.OnGetText(Name); if (!string.IsNullOrEmpty(result)) { return(result); } } return(Resources.Strings.Texts.ResourceManager.GetString(Name)); }