modif window to usercontrol