Here's another example of using the picturebox to draw lines and refresh the data: KiXforms: ProcessMon