VB中作个退出的按纽
点击它退出当前窗体的代码怎么写

解决方案 »

  1.   

    unload me 是卸载当前窗体
    end 是结束整个程序 不要用end 楼上那不会还乱说 
      

  2.   

    unload me    '是卸载当前窗体
    me.Visible=True  '隐藏当前窗体
    me.close   '是在VB2005上用的关闭当前窗体
      

  3.   

    unload me   '卸载当前窗体 
      

  4.   

    你也没有说清楚要怎么样啊
    unload me 就是关掉当前窗口啊
      

  5.   

    unload   me
    退出当前窗体
      

  6.   

    dim frmT as formfor each frmT in Forms
      unload frmT
      set frmT=nothing
    next