protected override void OnMouseMove (MouseEventArgs e) { base.OnMouseMove (e); bool hit = false; using (GraphicsPath path = CreatePath ()) hit = path.IsVisible (e.X, e.Y); _textBox.Text = hit ? "HIT" : "MISS"; }