Exemplo n.º 1
0
        private static void Main()
        {
            _container = IoCManager.GetContainer();
            IoC.IoCManager.RegisterModules(_container);

            AutoMapperConfig.RegisterMapping();

            // Set the aplication to use portuguese culture
            LanguageService.SetCulture(AvailableCulture.Portuguese);

            System.Windows.Forms.Application.EnableVisualStyles();
            System.Windows.Forms.Application.SetCompatibleTextRenderingDefault(false);
            System.Windows.Forms.Application.Run(_container.GetInstance <MainForm>());
        }
Exemplo n.º 2
0
 private void radioButtonPortuguese_CheckedChanged(object sender, EventArgs e)
 {
     LanguageService.SetCulture(AvailableCulture.Portuguese);
     LanguageService.UpdateFormWithCurrentCulture(this);
 }