public FrameBasedAnimation(FrameBasedAnimation original)
 {
     foreach (Bitmap bmp in original.frames)
     {
         frames.Add(new Bitmap(bmp));
     }
     bboxes = new List <BoundingBox>(original.bboxes);
     width  = original.Width;
     height = original.Height;
     bbmode = original.bbmode;
     // TODO CRITICAL: copy the other variables
 }
 public FrameBasedAnimation(FrameBasedAnimation original)
 {
     foreach (Bitmap bmp in original.frames)
         frames.Add(new Bitmap(bmp));
     bboxes = new List<BoundingBox>(original.bboxes);
     width = original.Width;
     height = original.Height;
     bbmode = original.bbmode;
     // TODO CRITICAL: copy the other variables
 }
 public void SetBoundingBox(BoundingBox bbox)
 {
     EnsureUndisposed();
     bbmode    = BoundingBoxMode.Manual;
     bboxes[0] = bbox;
 }
 public void SetBoundingBox(BoundingBox bbox)
 {
     EnsureUndisposed();
     bbmode = BoundingBoxMode.Manual;
     bboxes[0] = bbox;
 }