15 lines
498 B
VB.net
15 lines
498 B
VB.net
Class Application
|
|
|
|
' Gli eventi a livello di applicazione, ad esempio Startup, Exit e DispatcherUnhandledException,
|
|
' possono essere gestiti in questo file.
|
|
Protected Overrides Sub OnStartup(e As StartupEventArgs)
|
|
MyBase.OnStartup(e)
|
|
ShutdownMode = System.Windows.ShutdownMode.OnMainWindowClose
|
|
' Avvio il modulo per la stampa
|
|
Dim MyZebraPronter As New ZebraPrinter(e.Args)
|
|
' Termino il programma
|
|
Application.Current.Shutdown()
|
|
End Sub
|
|
|
|
End Class
|