Exemple #1
0
        public void AddTimerDelegate(CommonModels.TimerDelegeFunction function, object a, int start, int last)
        {
            TimerDelegate td = new TimerDelegate();

            td.a        = a;
            td.function = function;
            td.start    = start;
            td.last     = last;
            this.AddTimer(td);
        }
Exemple #2
0
        public void AddTimer(int start, int last, CommonModels.TimerDelegeFunction function = null, object a = null, TextBlock tb = null)
        {
            TimerDelegate td = new TimerDelegate();

            td.a         = a;
            td.function  = function;
            td.start     = start;
            td.last      = last;
            td.textBlock = tb;
            this.AddTimer(td);
        }