
I found solution for gif animation only using windows forms. Based on this i solved the problem in wpf (.net 3.5). The main trick is using Graphics instead of DrawingContext. It works properly only if the background is solid color brush, because calling FillRectangle() is necessary.
|