private void drawButtonText(System.Windows.Forms.PaintEventArgs e, Color color, int textX, int textY) { SolidBrush brush = new SolidBrush(color); e.Graphics.DrawString(this.Text, base.Font, brush, textX, textY); brush.Dispose(); }