Example #1
0
        private void relocalizeForm(string in_RawDropdownCaption)
        {
            ComponentResourceManager resources = new ComponentResourceManager(this.GetType());

            if (in_RawDropdownCaption == resources.GetString("comboLanguage.Items"))
            {
            }
            RuntimeLocalizer.ChangeCulture(this, "en-US");
        }
Example #2
0
        public FormMain()
        {
            InitializeComponent();

            dataHandlerLocal.getDataFromConfigFile();
            dataHandlerLocal.checkDbAvailabilityAndRecreate(dataHandlerLocal.newconfig.pathToDatabase);
            //fill now table
            lstForTableInForm             = dataHandlerLocal.getBarcodesDataFromDataBase(null);
            dataHandlerLocal.allPartsList = dataHandlerLocal.getAllParts();
            this.objectListViewMain.SetObjects(lstForTableInForm);
            RuntimeLocalizer.ChangeCulture(this, dataHandlerLocal.newconfig.langCode);
            //
        }