UI and partial code-behind for lab 4, spring 2014