8 references to ShutdownMode
Microsoft.VisualBasic.Forms (8)
Microsoft\VisualBasic\ApplicationServices\WindowsFormsApplicationBase.vb (7)
107Private _shutdownStyle As ShutdownMode 246Protected Friend Property ShutdownStyle() As ShutdownMode 250Set(value As ShutdownMode) 532Private Shared Sub ValidateShutdownModeEnumValue(value As ShutdownMode, paramName As String) 533If value < ShutdownMode.AfterMainFormCloses OrElse value > ShutdownMode.AfterAllFormsClose Then 534Throw New InvalidEnumArgumentException(paramName, value, GetType(ShutdownMode))
Microsoft\VisualBasic\ApplicationServices\WindowsFormsApplicationBase.WinFormsAppContext.vb (1)
40If _app.ShutdownStyle = ShutdownMode.AfterMainFormCloses Then