I am having a few memory problems with my long running application and I have been inspecting the paint methods to insure that brushes were properly disposed. In the case where the Brush is created in the argument to the functio will the brush be disposed of?
such as the case below
g.DrawString(valueText, Font, new SolidBrush(Color.Red),