示例#1
0
        protected override void SetStyleToForm(object style)
        {
            CTimerStyleItem item = (CTimerStyleItem)style;

            this.InitializeComponent();
            this.numInterval.Minimum = CTimerStyleItem.MIN_INTERVAL;
            this.numInterval.Maximum = CTimerStyleItem.MAX_INTERVAL;
            this.numInterval.Value   = item.Interval;
        }
示例#2
0
        protected override void SetTunedStyleItem(CStyleItem newOwn)
        {
            CTimerStyleItem item = (CTimerStyleItem)newOwn;

            this.interval = item.interval;
        }