private void Reset()
{
if (_frameList != null)
{
_frameList.Clear();
}
_frameList = null;
_frameCounter = 0;
_numberOfFrames = 0;
_numberOfLoops = -1;
_currentLoop = 0;
_logicalWidth = 0;
_logicalHeight = 0;
if (frameTimer != null)
{
frameTimer.Stop();
frameTimer = null;
}
}