add Frame controls and fix the designing in frmWindowPreview