private void panel_main_Paint(object sender, PaintEventArgs e)
        {
            // give some distance to the form border.
            var width  = Width - 60;
            var height = Height - 40;

            mapPainter.DrawMap(width, height, e.Graphics, ratio);
            dotDistributor.DrawDots(width, height, e.Graphics, ratio);
            infoForm.UpdateMessage(GetMessage(dotDistributor.NumberOfDotsPerGroup), dotDistributor.MeasureAggregationAccuracy());
        }
        private void panel_main_Paint(object sender, PaintEventArgs e)
        {
            // give some distance to the form border.
            var width  = Width - 60;
            var height = Height - 40;

            mapPainter.DrawMap(width, height, e.Graphics, ratio);
            dotDistributor.DrawDots(width, height, e.Graphics, ratio);
            toolStripStatusLabel1.Text = "1 dot = " + dotDistributor.NumberOfDotsPerGroup + " people.";
        }