Ejemplo n.º 1
0
        public SignalTrack(Signal signal)
        {
            p.Freeze();

            Signal           = signal;
            this.MouseWheel += new MouseWheelEventHandler(OnSignalTrackMouseWheel);

            SignalTrack.SelectTrack(this);
        }
Ejemplo n.º 2
0
        protected override void OnMouseDown(MouseButtonEventArgs e)
        {
            base.OnMouseDown(e);

            // change track
            if (Selected != this)
            {
                SignalTrack.SelectTrack(this);
            }
        }