private void Normal_Elapsed(object sender, EventArgs e)
{
//Get the actual position of the form.
var lefttop = Dispatcher.Invoke(() => new Point((int)((Left + Constants.LeftOffset) * _scale), (int)((Top + Constants.TopOffset) * _scale)));
//Take a screenshot of the area.
var bt = Native.Capture(_size, lefttop.X, lefttop.Y);
if (bt == null) return;
string fileName = $"{_pathTemp}{FrameCount}.bmp";
ListFrames.Add(new FrameInfo(fileName, FrameRate.GetMilliseconds(_snapDelay)));
ThreadPool.QueueUserWorkItem(delegate { AddFrames(fileName, new Bitmap(bt)); });
FrameCount++;
}