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