Example #1
0
        private void SaveData(object sender, EventArgs e)
        {
            if (manualChanged == false)
            {
                TActionIntervalDelay myAction = (TActionIntervalDelay)this.action;
                myAction.duration = (long)nudDuration.Value;

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

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

            nudDuration.Value = (decimal)myAction.duration;

            // clear mnualChanged flag
            manualChanged = false;
        }