20 lines
590 B
VB.net
20 lines
590 B
VB.net
Class Application
|
|
|
|
' Application-level events, such as Startup, Exit, and DispatcherUnhandledException
|
|
' can be handled in this file.
|
|
Protected Overrides Sub OnStartup(e As StartupEventArgs)
|
|
MyBase.OnStartup(e)
|
|
ShutdownMode = System.Windows.ShutdownMode.OnMainWindowClose
|
|
'Dim bOnlyProd As Boolean = True
|
|
'' Creo la View principale
|
|
'If bOnlyProd Then
|
|
' Me.MainWindow = New OnlyProdMainWindowV
|
|
'Else
|
|
Me.MainWindow = New MainWindowV
|
|
'End If
|
|
' Mostro la View principale
|
|
Me.MainWindow.Show()
|
|
End Sub
|
|
|
|
End Class
|