diff options
| author | FloppyDiskDrive <[email protected]> | 2017-09-21 17:16:49 -0500 |
|---|---|---|
| committer | FloppyDiskDrive <[email protected]> | 2017-09-21 17:16:49 -0500 |
| commit | cf1bf85e01c8d99f052c09b72d2fb2bbbc0b99b0 (patch) | |
| tree | fe0d16447fab2a74b6161b4c981c036a93ed8239 /ShiftOS/ApplicationEvents.vb | |
| parent | 30b6a49d5b0e720eee131e970761ece7c6ed7ef0 (diff) | |
| download | shiftos-rewind-cf1bf85e01c8d99f052c09b72d2fb2bbbc0b99b0.tar.gz shiftos-rewind-cf1bf85e01c8d99f052c09b72d2fb2bbbc0b99b0.tar.bz2 shiftos-rewind-cf1bf85e01c8d99f052c09b72d2fb2bbbc0b99b0.zip | |
Added the SOS code (VB and C#)
Very, very incomplete (C# isn't *remotely* complete.)
Diffstat (limited to 'ShiftOS/ApplicationEvents.vb')
| -rw-r--r-- | ShiftOS/ApplicationEvents.vb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ShiftOS/ApplicationEvents.vb b/ShiftOS/ApplicationEvents.vb new file mode 100644 index 0000000..973056e --- /dev/null +++ b/ShiftOS/ApplicationEvents.vb @@ -0,0 +1,20 @@ +Imports System.IO
+
+Namespace My
+
' The following events are available for MyApplication:
+ '
+ ' Startup: Raised when the application starts, before the startup form is created.
+ ' Shutdown: Raised after all application forms are closed. This event is not raised if the application terminates abnormally.
+ ' UnhandledException: Raised if the application encounters an unhandled exception.
+ ' StartupNextInstance: Raised when launching a single-instance application and the application is already active.
+ ' NetworkAvailabilityChanged: Raised when the network connection is connected or disconnected.
+ Partial Friend Class MyApplication
+
+ Protected Overrides Function OnStartup(ByVal eventArgs As Microsoft.VisualBasic.ApplicationServices.StartupEventArgs) As Boolean
+ Return True
+ End Function
+ End Class
+
+ +End Namespace
+
|
