code of myClient

layout by frame