gurkanguldas_GNSS_RadarScreen/RadarScreen/UI/RadarDrawControl.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace RadarScreen.UI
{
    class RadarDrawControl : Control
    {
        public RadarDrawControl()
        {
            this.SetStyle(ControlStyles.OptimizedDoubleBuffer, false);
            this.SetStyle(ControlStyles.Opaque, true);
        }
        protected override CreateParams CreateParams
        {
            get
            {
                CreateParams parms = base.CreateParams;
                parms.ExStyle |= 0x20;  // Turn on WS_EX_TRANSPARENT;
                return parms;
            }
        }
    }
}
