public SettingsPanel(MapsPlugin mapsPlugin) : this() { this.button1.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_CLEARCACHE); this.groupBox1.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_OFFLINEOSMMAPS); this.label1.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_LOCATION); this.label2.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_MAPS); this.button3.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_GETMORE); _mapsPlugin = mapsPlugin; textBox1.Text = Properties.Settings.Default.OSMOfflineMapFolder; loadMaps(); }
public SettingsPanel(MapsPlugin mapsPlugin) : this() { this.button1.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_CLEARCACHE); this.groupBox1.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_OFFLINEOSMMAPS); this.label1.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_LOCATION); this.label2.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_MAPS); this.button3.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_GETMORE); _mapsPlugin = mapsPlugin; textBox1.Text = PluginSettings.Instance.OSMOfflineMapFolder; loadMaps(); }