private void lstActions_DoubleClick(object sender, EventArgs e)
        {
            if (lstActions.SelectedIndex > -1)
            {
                if (mTmpMoveRoute.Actions[lstActions.SelectedIndex].Type == MoveRouteEnum.SetGraphic)
                {
                    //Open the graphic editor....
                    var graphicSelector = new EventGraphicSelector(
                        mTmpMoveRoute.Actions[lstActions.SelectedIndex].Graphic, mEventEditor, this, false
                        );

                    mEventEditor.Controls.Add(graphicSelector);
                    graphicSelector.BringToFront();
                    graphicSelector.Size = ClientSize;
                }
                else if (mTmpMoveRoute.Actions[lstActions.SelectedIndex].Type == MoveRouteEnum.SetAnimation)
                {
                    //Open the animation selector
                    var animationSelector = new EventMoveRouteAnimationSelector(
                        this, mTmpMoveRoute.Actions[lstActions.SelectedIndex], false
                        );

                    Controls.Add(animationSelector);
                    animationSelector.BringToFront();
                    animationSelector.Size = ClientSize;
                }
            }
        }
        private void lstCommands_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e)
        {
            if (e.Node.Tag == null)
            {
                return;
            }

            var action = new MoveRouteAction()
            {
                Type = (MoveRouteEnum)Convert.ToInt32(e.Node.Tag)
            };

            if (action.Type == MoveRouteEnum.SetGraphic)
            {
                action.Graphic = new EventGraphic();

                //Open the graphic editor....
                var graphicSelector = new EventGraphicSelector(action.Graphic, mEventEditor, this, true);
                mEventEditor.Controls.Add(graphicSelector);
                graphicSelector.BringToFront();
                graphicSelector.Size = ClientSize;
            }
            else if (action.Type == MoveRouteEnum.SetAnimation)
            {
                //Open the animation selector
                var animationSelector = new EventMoveRouteAnimationSelector(this, action, true);
                Controls.Add(animationSelector);
                animationSelector.BringToFront();
                animationSelector.Size = ClientSize;
            }

            if (lstActions.SelectedIndex == -1)
            {
                mTmpMoveRoute.Actions.Add(action);
            }
            else
            {
                mTmpMoveRoute.Actions.Insert(lstActions.SelectedIndex, action);
            }

            mLastAddedAction = action;
            ListMoveRoute();
        }