public void EndUpdate() { Bitmap bitmap = this.GetBackground(this.AnimatedControl, true, true); if (this.animation.AnimateOnlyDifferences) { TransfromHelper.CalcDifference(bitmap, this.BgBmp); } this.ctrlBmp = bitmap; this.mode = AnimateMode.Update; }
public void EndUpdate() { var bmp = GetBackground(AnimatedControl, true, true); #if debug bmp.Save("c:\\bmp.png"); #endif if (animation.AnimateOnlyDifferences) { TransfromHelper.CalcDifference(bmp, BgBmp); } ctrlBmp = bmp; mode = AnimateMode.Update; #if debug ctrlBmp.Save("c:\\ctrlBmp.png"); #endif }