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) 1012Friend Shared Sub ValidateShutdownModeEnumValue(value As ShutdownMode, paramName As String) 1013If value < ShutdownMode.AfterMainFormCloses OrElse value > ShutdownMode.AfterAllFormsClose Then 1014Throw New InvalidEnumArgumentException(paramName, value, GetType(ShutdownMode))
Microsoft\VisualBasic\ApplicationServices\WindowsFormsApplicationBase.WinFormsAppContext.vb (1)
40If _app.ShutdownStyle = ShutdownMode.AfterMainFormCloses Then