/// <summary> /// Constructor. /// </summary> public InsertionMarker(DraggableTabControl owner) { m_owner = owner; SetStyle(ControlStyles.UserPaint, true); SetStyle(ControlStyles.AllPaintingInWmPaint, true); SetStyle(ControlStyles.OptimizedDoubleBuffer, true); Opacity = 0.5; FormBorderStyle = FormBorderStyle.None; ShowInTaskbar = false; AllowDrop = true; Height = 16; Width = 6; }