24 lines
751 B
VB.net
24 lines
751 B
VB.net
Imports EgtWPFLib5
|
|
Imports EgtUILib
|
|
|
|
Class Application
|
|
|
|
' Application-level events, such as Startup, Exit, and DispatcherUnhandledException
|
|
' can be handled in this file.
|
|
Protected Overrides Sub OnStartUp(e As System.Windows.StartupEventArgs)
|
|
MyBase.OnStartup(e)
|
|
ShutdownMode = System.Windows.ShutdownMode.OnMainWindowClose
|
|
' Creo la View principale
|
|
Me.MainWindow = New MainWindowV(e.Args)
|
|
System.Windows.Forms.Integration.ElementHost.EnableModelessKeyboardInterop(Me.MainWindow)
|
|
If OptionModule.AdjustDDT Then
|
|
Me.MainWindow.Hide()
|
|
Else
|
|
Me.MainWindow.Show()
|
|
End If
|
|
'' Mostro la View principale
|
|
'Me.MainWindow.Show()
|
|
End Sub
|
|
|
|
End Class
|