private void CaptureT_Tick(object sender, EventArgs e)
 {
     frames.Add(Screenshot.CaptureRegionAsBytes(selectedRect, captureCursor));
 }