Exemple #1
0
 public static string GetInternationalString(SUIStringResource stringResource)
 {
     if (m_ResourceManager == null)
     {
         m_ResourceManager = new SUIResourceManager();
     }
     SUIStringResourceHandler handler = (SUIStringResourceHandler)m_ResourceManager.m_Handlers[stringResource.StringType];
     return handler.ExtractString(stringResource);
 }
Exemple #2
0
        public static string GetInternationalString(SUIStringResource stringResource)
        {
            if (m_ResourceManager == null)
            {
                m_ResourceManager = new SUIResourceManager();
            }
            SUIStringResourceHandler handler = (SUIStringResourceHandler)m_ResourceManager.m_Handlers[stringResource.StringType];

            return(handler.ExtractString(stringResource));
        }
Exemple #3
0
 internal static void Register(SUIResourceManager manager)
 {
     manager.RegisterResourceHandler(new SUIWin32DialogStringHandler());
 }
Exemple #4
0
 internal static void Register(SUIResourceManager manager)
 {
     manager.RegisterResourceHandler(new SUIWin32DialogStringHandler() );
 }