private void timerCapWithCursorFull_Tick(object sender, EventArgs e)
{
_cursorInfo = new CursorInfo
{
IconImage = _capture.CaptureImageCursor(ref _posCursor),
Position = panelTransparent.PointToClient(_posCursor),
Clicked = _recordClicked,
};
//saves to list the actual icon and position of the cursor
_listCursor.Add(_cursorInfo);
//Take a screenshot of the area.
_gr.CopyFromScreen(0, 0, 0, 0, _sizeResolution, CopyPixelOperation.SourceCopy);
//Add the bitmap to a list
_addDel.BeginInvoke(String.Format("{0}{1}.bmp", _pathTemp, _frameCount), new Bitmap(_bt), CallBack, null);
this.Invoke((Action)(() => this.Text = String.Format("Screen To Gif • {0}", _frameCount)));
_frameCount++;
GC.Collect(1);
}