예제 #1
0
        public BlackBoxView()
            : base()
        {
            this.timer = new DispatcherTimer();
            this.timer.Interval = TimeSpan.FromMilliseconds(50);
            this.timer.Tick += new EventHandler(timer_Tick);

            this.blinkTimer = new DispatcherTimer();
            this.blinkTimer.Tick += new EventHandler(blinkTimer_Tick);

            _starEffectPane = new StarEffectPane();
            _starEffectPane.StarEffectCompleted +=
                new StarEffectCompletedEventHandler(_starEffectPane_StarEffectCompleted);
        }
예제 #2
0
        public BlackBoxView()
            : base()
        {
            this.timer          = new DispatcherTimer();
            this.timer.Interval = TimeSpan.FromMilliseconds(50);
            this.timer.Tick    += new EventHandler(timer_Tick);

            this.blinkTimer       = new DispatcherTimer();
            this.blinkTimer.Tick += new EventHandler(blinkTimer_Tick);

            _starEffectPane = new StarEffectPane();
            _starEffectPane.StarEffectCompleted +=
                new StarEffectCompletedEventHandler(_starEffectPane_StarEffectCompleted);
        }