void flipbookProperties_Click(object sender, EventArgs e)
        {
            FlipbookOverlay flipbook = (FlipbookOverlay)Focus;
            FlipbookSetup properties = new FlipbookSetup();

            properties.LoopType = flipbook.LoopType;
            properties.FramesY = flipbook.FramesY;
            properties.FramesX = flipbook.FramesX;
            properties.FrameSequence = flipbook.FrameSequence;
            properties.StartFrame = flipbook.StartFrame;
            properties.Frames = flipbook.Frames;

            if (properties.ShowDialog() == DialogResult.OK)
            {
                flipbook.LoopType = properties.LoopType;
                flipbook.FramesY = properties.FramesY;
                flipbook.FramesX = properties.FramesX;
                flipbook.FrameSequence = properties.FrameSequence;
                flipbook.StartFrame = properties.StartFrame;
                flipbook.Frames = properties.Frames;
            }
        }
        public bool AddFlipbook(string filename)
        {
            if (tour == null || tour.CurrentTourStop == null)
            {
                return false;
            }

            //todo localize

            FlipbookSetup flipSetup = new FlipbookSetup();

            if (flipSetup.ShowDialog() == DialogResult.OK)
            {
                Undo.Push(new UndoTourStopChange(Language.GetLocalizedText(1342, "Insert Flipbook"), tour));
                FlipbookOverlay flipbook = new FlipbookOverlay( tour.CurrentTourStop, filename);
                flipbook.X = 960;
                flipbook.Y = 600;
                flipbook.LoopType = flipSetup.LoopType;
                flipbook.FramesY = flipSetup.FramesY;
                flipbook.FramesX = flipSetup.FramesX;
                flipbook.FrameSequence = flipSetup.FrameSequence;
                flipbook.StartFrame = flipSetup.StartFrame;
                flipbook.Frames = flipSetup.Frames;

                tour.CurrentTourStop.AddOverlay(flipbook);
                OverlayList.UpdateOverlayList(tour.CurrentTourStop, Selection);
                return true;
            }
            return false;
        }