假设你已经有了一个窗体 Form1 在代码中写如下:dim frmTest as new form1frmtest.show 
注意在程序退出的时候必须set frmtest=nothing 或者unload frmtest