예제 #1
0
 static LocalizedStrings()
 {
     try
     {
         LocalizationManager.Init(LocalizedStringsExtension.GetResourceStream());
     }
     catch (Exception ex)
     {
         Trace.WriteLine(ex);
     }
 }
예제 #2
0
 static LocalizedStrings()
 {
     try
     {
         var manager = new LocalizationManager();
         manager.Init(new StreamReader(LocalizedStringsExtension.GetResourceStream()));
         ConfigManager.RegisterService(manager);
     }
     catch (Exception ex)
     {
         Trace.WriteLine(ex);
     }
 }