Example #1
0
 public void TearDown()
 {
     _localizationManager.Dispose();
     LocalizationManager.ForgetDisposedManagers();
     _folder.Dispose();
     Logger.ShutDown();
 }
Example #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            SetUpLocalization();

            LocalizationManager.SetUILanguage(Settings.Default.UserInterfaceLanguage, false);

            Application.Run(new Form1());
            Settings.Default.Save();

            _localizationManager?.Dispose();
            _localizationManager = null;
        }
Example #3
0
 public void TearDown()
 {
     _localizationManager.Dispose();
     _palasoLocalizationManager.Dispose();
     LocalizationManager.ForgetDisposedManagers();
 }