private void AddFrames(string filename, Bitmap bitmap) { _listFrames.Add(filename); bitmap.Save(filename); bitmap.Dispose(); }