private void drawDesignMode(Graphics g, Rectangle bounds)
{
g.DrawRectangle(new Pen(Color.Black), bounds.X + 2, bounds.Y + 2, bounds.Width - 4, bounds.Height - 4);
g.DrawString("PlotSurface2D: " + this.Title, this.TitleFont, this.TitleBrush, bounds.X + bounds.Width / 2.0f, bounds.Y + bounds.Height / 2.0f);
}