private void relocalizeForm(string in_RawDropdownCaption) { ComponentResourceManager resources = new ComponentResourceManager(this.GetType()); if (in_RawDropdownCaption == resources.GetString("comboLanguage.Items")) { } RuntimeLocalizer.ChangeCulture(this, "en-US"); }
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); // }