其实你最好做成一个表单集,
formset1.init:
this.form1.show
this.form2.hideform1.command1.click&&进入
    thisformset.form2.show
    thisform.hide
form1.command2.click;&&退出
    thisformset.release
form2.command1.click&&确定
    thisformset.release
form2.command2.click&&取消
    thisformset.form1.show
    thisform.hide