private void lblClearHistory_Click(object sender, EventArgs e)
 {
     this.cam.maskManager.LastPositionsHistory.Clear();
     this.Refresh();
     AppSettings.SaveAsync();
 }
 private void lblClearMasks_Click(object sender, EventArgs e)
 {
     this.cam.maskManager.MaskedPositions.Clear();
     this.Refresh();
     AppSettings.SaveAsync();
 }