This example shows how to handle various prepaint and paint event to create and style an Oval gauge.