Exemplo n.º 1
0
        public Rays(LightBox lightBox)
        {
            _visible = false;

            _lightBox = lightBox;

            BuildRays();

            _lightSpot = new LightSpot();

            this.timer          = new DispatcherTimer();
            this.timer.Interval = TimeSpan.FromMilliseconds(50);
            this.timer.Tick    += new EventHandler(timer_Tick);
        }
Exemplo n.º 2
0
        public Rays(LightBox lightBox)
        {
            _visible = false;

            _lightBox = lightBox;

            BuildRays();

            _lightSpot = new LightSpot();

            this.timer = new DispatcherTimer();
            this.timer.Interval = TimeSpan.FromMilliseconds(50);
            this.timer.Tick += new EventHandler(timer_Tick);
        }
Exemplo n.º 3
0
 public void LightSpotUpdated(LightSpot lightSpot)
 {
     UpdateLightSpot(lightSpot);
 }
Exemplo n.º 4
0
 public void UpdateLightSpot(LightSpot lightSpot)
 {
     this.lightSpot.Visibility = lightSpot._visibility;
     this.lightSpot.SetXY(lightSpot._point.X, lightSpot._point.Y);
     this.lightSpot.SetStroke(this.path.Stroke);
 }
Exemplo n.º 5
0
 public void UpdateLightSpot(LightSpot lightSpot)
 {
     this.lightSpot.Visibility = lightSpot._visibility;
     this.lightSpot.SetXY(lightSpot._point.X, lightSpot._point.Y);
     this.lightSpot.SetStroke(this.path.Stroke);
 }
Exemplo n.º 6
0
 public void LightSpotUpdated(LightSpot lightSpot)
 {
     UpdateLightSpot(lightSpot);
 }