Пример #1
0
        public override void UpdateEvents()
        {
            if (Start != null)
            {
                Start.SetDownTick(TickPair.Down);
                Start.Text = StartText;
                Start.UpdateEvents();
            }

            if (End != null)
            {
                End.SetDownTick(TickPair.Up);
                End.Text = EndText;
                End.UpdateEvents();
            }

            if (this.Loopable)
            {
                Norm.SetDownTick(GetNormTick(TickPair));
                Norm.Text = NormText;
                Norm.UpdateEvents();
            }
            else
            {
                if (Norm != null)
                {
                    Norm.DeleteAll();
                    Norm = null;
                }
            }
            base.UpdateEvents();
        }