update many projects to .NET Standard 2.0

This commit is contained in:
schedpas
2020-09-25 09:49:03 +02:00
parent 9feaf658be
commit 1f9114dc02
37 changed files with 21 additions and 1274 deletions

View File

@@ -37,11 +37,11 @@ Public NotInheritable Class SettingsManager(Of T As SettingsBase)
End Property
Private Sub AddAutoSaveHandler()
AddHandler Windows.Forms.Application.ApplicationExit, AddressOf AutoSaveSettingsOnExit
AddHandler AppDomain.CurrentDomain.ProcessExit, AddressOf AutoSaveSettingsOnExit
addedHandler = True
End Sub
Private Sub RemoveAutoSaveHandler()
RemoveHandler Windows.Forms.Application.ApplicationExit, AddressOf AutoSaveSettingsOnExit
RemoveHandler AppDomain.CurrentDomain.ProcessExit, AddressOf AutoSaveSettingsOnExit
addedHandler = False
End Sub