How to use Window Framework?