Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Private Sub PPSGPS_FormClosing(sender As Object, e As FormClosingEventArgs) Handles MyBase.FormClosing
- Select Case e.CloseReason
- Case CloseReason.WindowsShutDown
- Logging.Log("Closing due to windows shutdown.", "PPSGPS_FormClosing")
- SaveCluster("STOP")
- return
- Case CloseReason.TaskManagerClosing
- Logging.Log("Closing due to task manager kill.", "PPSGPS_FormClosing")
- SaveCluster("STOP")
- return
- End Select
Add Comment
Please, Sign In to add comment