Converted demo1 to use CView2.