|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
form unloadHow do I cancel the unloading of a form in VB.NET 2005?
In VB6 I would use "Cancel" in "QueryUnload" event. Also, is there an "UnloadMode" parameter in VB.NET? "phonl" <phonl@newsgroups.nospam> schrieb: Handle the form's 'Closing' event and set 'e.Cancel' to 'True'. In > How do I cancel the unloading of a form in VB.NET 2005? > > In VB6 I would use "Cancel" in "QueryUnload" event. Also, is there an > "UnloadMode" parameter in VB.NET? addition, check out the form's 'FormClosing' event, specifically its 'e' parameter. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
More VS2003 to VS2005 questions
Write to an XML file using data from an SQLserver table Master Page Template difference between imports-implements-inherits firing a dts package's execution How To Show Partial Classes as a Hierarchy in Solution Explorer? new line in datagrid cell newbie script question Dang, trivial problem! Passing a parameter Collection |
|||||||||||||||||||||||