Files
egtbeamwall/EgtBEAMWALL.Supervisor/Application.xaml.vb
T
Demetrio Cassarino 7fe32007d8 Oprimizer 2.7.11.1
-pulito supervisore
2025-11-03 17:04:15 +01:00

21 lines
674 B
VB.net

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 StartupEventArgs)
MyBase.OnStartup(e)
ShutdownMode = System.Windows.ShutdownMode.OnMainWindowClose
Me.MainWindow = New MainWindowV
' Mostro la View principale
Me.MainWindow.Show()
End Sub
Public Sub ManageUnhandledException(sender As Object, e As System.Windows.Threading.DispatcherUnhandledExceptionEventArgs) Handles Me.DispatcherUnhandledException
EgtOutLog(e.Exception.ToString)
e.Handled = True
End Sub
End Class