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 System.Windows.Forms.Integration.ElementHost.EnableModelessKeyboardInterop(Me.MainWindow) ' Mostro la View principale Me.MainWindow.Show() End Sub End Class