Generator: Remove code-behind version of window.

git-tfs-id: [https://tfs.codeplex.com:443/tfs/TFS15]$/Atomix;C40409