예제 #1
0
        private void SaveData(object sender, EventArgs e)
        {
            if (manualChanged == false)
            {
                TActionInstantEnableSound myAction = (TActionInstantEnableSound)this.action;
                myAction.enabled = chkEnabled.Checked;

                base.SaveData();
            }
        }
예제 #2
0
        public override void LoadData()
        {
            // set manualChanged flag
            manualChanged = true;

            // load action data
            TActionInstantEnableSound myAction = (TActionInstantEnableSound)this.action;

            chkEnabled.Checked = myAction.enabled;

            // clear mnualChanged flag
            manualChanged = false;
        }