vba VB.NET 中没有卸载选项

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/9212396/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 12:33:30  来源:igfitidea点击:

Unload option is not there in VB.NET

vb.netvisual-studio-2010vba

提问by Django Anonymous

Actually i am a VB6 developer, switching to VB 2010 (VB.NET), in visual basic we use to do Form1.unloadme
However, its not working in VB2010...

实际上,我是一名 VB6 开发人员,切换到 VB 2010 (VB.NET),在 Visual Basic 中我们用来做 Form1.unloadme
但是,它在 VB2010 中不起作用......

Form1.UnloadMe()

Even option is not available in intellisence.

甚至选项在智能中不可用。

Is there any book which i can refer to understand VB 2010 faster...

有没有我可以参考的书可以更快地理解VB 2010...

回答by Django Anonymous

Use

Me.Close()

where "Me" will work as your current form i.e. Form1 and "Close" will work as UnloadMe option....

其中“ Me”将用作您当前的表单,即 Form1 和“ Close”将用作 UnloadMe 选项....

You can go for Evangelos PetroutsosBook, naming "Mastring Microsoft Visual Basic 2010" and published by Wiley-Sybex.

您可以选择Evangelos PetroutsosBook,命名为“ Mastring Microsoft Visual Basic 2010”,由 Wiley-Sybex 出版。