예제 #1
0
        private void translationConfig_Click(object sender, EventArgs e)
        {
            using (var frm = new FormChooseTranslation())
            {
                frm.ShowDialog(this); // will set Settings.Translation
            }

            _settingsPageHost.LoadAll();
            Translate();
            SaveAndRescan_Click(null, null);
        }
예제 #2
0
        private void ChangeHomeButton_Click(object sender, EventArgs e)
        {
            _settingsPageHost.SaveAll();
            using (var frm = new FormFixHome()) frm.ShowDialog(this);
            _settingsPageHost.LoadAll();
            // TODO?: rescan

            // orginal:
            ////            throw new NotImplementedException(@"
            ////            Save();
            ////            using (var frm = new FormFixHome()) frm.ShowDialog(this);
            ////            LoadSettings();
            ////            Rescan_Click(null, null);
            ////            ");
        }