WindowsFormsApplicationBase.ShutdownStyle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines what happens when the application's main form closes.
protected public:
property Microsoft::VisualBasic::ApplicationServices::ShutdownMode ShutdownStyle { Microsoft::VisualBasic::ApplicationServices::ShutdownMode get(); void set(Microsoft::VisualBasic::ApplicationServices::ShutdownMode value); };
protected internal Microsoft.VisualBasic.ApplicationServices.ShutdownMode ShutdownStyle { get; set; }
member this.ShutdownStyle : Microsoft.VisualBasic.ApplicationServices.ShutdownMode with get, set
Protected Friend Property ShutdownStyle As ShutdownMode
Property Value
One of the enumeration values that indicates what the application should do when the main form closes.
Remarks
The OnMainFormClosed method checks the value of this property to determine if the application should shut down when the main form is closed, or if another open form should be promoted as the new main form.
Applies to
See also
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.