Exemplo n.º 1
0
        private void BtnOk_Click(object sender, EventArgs e)
        {
            int           num    = GetStyleNum();
            Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
            int           userId = int.Parse(config.AppSettings.Settings["UserId"].Value);

            setting = ConfigurationSetting.UpdateConfigSettingFromColor(userId, num);

            //スタイルの色設定
            AppConst.FormStyle.FormColor = AppConst.FormStyle.GetBGColor(setting.StyleColor);
            Close();
        }