I wouldn't recommend trying to use waveViewer, although you could take a copy of the code and use it as a basis. If you look at the WPF demo code in the NAudio repository, it supports drawing the waveform while you are recording.
The basic principle is every time the DataAvailable event fires, calculate the max peaks of the recorded audio and add that to your waveform display.