private void TimelineEventView_MouseDown_1(object sender, MouseButtonEventArgs e)
        {
            var pos = e.GetPosition(_timeline.Scene);
            recentMouseX = pos.X;
            recentMouseY = pos.Y;

            var model = DataContext as TimelineEvent;
            if (model == null)
                return;
            model.IsEvSelected = !model.IsEvSelected;

            _currentMoveCommand = new EventMoveCommand(model);

            Mouse.Capture(this);

            e.Handled = true;
        }
        private void TimelineEventView_MouseUp_1(object sender, MouseButtonEventArgs e)
        {
            if (_currentMoveCommand != null && _currentMoveCommand.EndCommand())
            {
                CommandManager.Instance.RegisterDoneCommand(_currentMoveCommand);
            }
            _currentMoveCommand = null;

            ReleaseMouseCapture();
            e.Handled = true;
        }