public override Timeline Copy(AnimationClass.AnimationLayer ActiveLayer)
        {
            AnimatedBitmapTimeline NewSpawnAnimatedBitmapEvent = new AnimatedBitmapTimeline();

            NewSpawnAnimatedBitmapEvent.BitmapName   = BitmapName;
            NewSpawnAnimatedBitmapEvent.ActiveSprite = ActiveSprite.Copy();

            NewSpawnAnimatedBitmapEvent.AnimationSpeedOld = AnimationSpeedOld;

            NewSpawnAnimatedBitmapEvent.UpdateFrom(this, ActiveLayer);

            return(NewSpawnAnimatedBitmapEvent);
        }
        public override List <VisibleTimeline> CreateNewEditorItem(AnimationClass ActiveAnimation, AnimationClass.AnimationLayer ActiveLayer, int KeyFrame, System.Drawing.Point MousePosition)
        {
            List <VisibleTimeline> ReturnValue = new List <VisibleTimeline>();

            AnimatedBitmapSpawnerHelper NewSpawner = new AnimatedBitmapSpawnerHelper();

            if (NewSpawner.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                AnimatedBitmapTimeline NewAnimatedBitmapSpawner = new AnimatedBitmapTimeline(NewSpawner.SpawnViewer.content, NewSpawner.SpawnViewer.BitmapName);

                NewAnimatedBitmapSpawner.Position   = new Vector2(535, 170);
                NewAnimatedBitmapSpawner.SpawnFrame = KeyFrame;
                NewAnimatedBitmapSpawner.DeathFrame = KeyFrame + 10;
                NewAnimatedBitmapSpawner.IsUsed     = true;//Disable the spawner as we spawn the AnimatedBitmap manually.
                NewAnimatedBitmapSpawner.Add(KeyFrame, new AnimatedBitmapKeyFrame(NewAnimatedBitmapSpawner.Position,
                                                                                  true, -1, NewAnimatedBitmapSpawner.ActiveSprite.FramesPerSecond));

                ReturnValue.Add(NewAnimatedBitmapSpawner);
            }

            return(ReturnValue);
        }