Locate the function OnNewDocuemnt by double clicking on it in the
ClassView
window.