コード例 #1
0
        private void mainMenuSettings_Click(object sender, EventArgs e)
        {
            using (var frm = new FrmSettings()) {
                if (frm.ShowDialog(this) != DialogResult.OK)
                {
                    return;
                }

                Settings.Default.Save();
                txtEn2Korea.Enabled = Settings.Default.EnableResnametableSearch;
                txtID2Name.Enabled  = Settings.Default.EnableResnametableSearch;

                // Load resnametable, if not yet done
                LoadResnametable();
            }
        }
コード例 #2
0
ファイル: frmMain.cs プロジェクト: GodLesZ/svn-dump
        private void mainMenuSettings_Click(object sender, EventArgs e) {
            using (var frm = new FrmSettings()) {
                if (frm.ShowDialog(this) != DialogResult.OK) {
                    return;
                }

                Settings.Default.Save();
                txtEn2Korea.Enabled = Settings.Default.EnableResnametableSearch;
                txtID2Name.Enabled = Settings.Default.EnableResnametableSearch;

                // Load resnametable, if not yet done
                LoadResnametable();
            }
        }