private void DrawingBox_Paint(object sender, PaintEventArgs e) { e.Graphics.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias; drawingBox.SetGraphics(e.Graphics); intesectDrawController.Draw(); pointInPolygonController.Draw(); pointRelationPosController.Draw(); }