edit main form.

Signed-off-by: robertzml <robertzml@126.com>