你可以把basemainform的大小位置改一下的,参考代码
basemainform.windowstate = 0basemainform.width=0basemainform.height=0basemainform.left=-1000