Fixed issue #26

This commit is contained in:
Michael J. Seiferling
2015-12-14 12:08:45 -06:00
parent 022ef5d35c
commit f79c446adc
3 changed files with 8 additions and 10 deletions
+2 -2
View File
@@ -693,10 +693,10 @@ Partial Class frmGameManager
Me.optPendingRestores.AutoSize = True
Me.optPendingRestores.Location = New System.Drawing.Point(6, 64)
Me.optPendingRestores.Name = "optPendingRestores"
Me.optPendingRestores.Size = New System.Drawing.Size(104, 17)
Me.optPendingRestores.Size = New System.Drawing.Size(122, 17)
Me.optPendingRestores.TabIndex = 2
Me.optPendingRestores.TabStop = True
Me.optPendingRestores.Text = "Restore Pending"
Me.optPendingRestores.Text = "New Saves Pending"
Me.optPendingRestores.UseVisualStyleBackColor = True
'
'optAllGames
+2 -2
View File
@@ -313,9 +313,9 @@ Public Class frmMain
If slRestoreData.Count > 0 Then
If slRestoreData.Count > 1 Then
sNotification = slRestoreData.Count & " Restores pending"
sNotification = slRestoreData.Count & " New Saves Pending"
Else
sNotification = slRestoreData.Count & " Restore pending"
sNotification = slRestoreData.Count & " New Save Pending"
End If
gMonNotification.Image = My.Resources.Inbox
gMonTrayNotification.Image = My.Resources.Inbox
+4 -6
View File
@@ -68,9 +68,11 @@ Public Class mgrMonitorList
Dim hshParams As Hashtable
Dim oParamList As New List(Of Hashtable)
sSQL = "INSERT OR REPLACE INTO monitorlist (MonitorID, Name, Process, Path, AbsolutePath, FolderSave, FileType, TimeStamp, ExcludeList, Hours, Enabled, MonitorOnly) "
sSQL = "INSERT OR REPLACE INTO monitorlist (MonitorID, Name, Process, Path, AbsolutePath, FolderSave, FileType, TimeStamp, ExcludeList, ProcessPath, Icon, Hours, Version, Company, Enabled, MonitorOnly) "
sSQL &= "VALUES (@ID, @Name, @Process, @Path, @AbsolutePath, @FolderSave, @FileType, "
sSQL &= "@TimeStamp, @ExcludeList, @Hours, @Enabled, @MonitorOnly);"
sSQL &= "@TimeStamp, @ExcludeList, (SELECT ProcessPath FROM monitorlist WHERE MonitorID=@ID), "
sSQL &= "(SELECT Icon FROM monitorlist WHERE MonitorID=@ID), @Hours, (SELECT Version FROM monitorlist WHERE MonitorID=@ID), "
sSQL &= "(SELECT Company FROM monitorlist WHERE MonitorID=@ID), COALESCE((SELECT Enabled FROM monitorlist WHERE MonitorID=@ID),1), COALESCE((SELECT MonitorOnly FROM monitorlist WHERE MonitorID=@ID),0));"
For Each oGame As clsGame In hshGames.Values
hshParams = New Hashtable
@@ -87,10 +89,6 @@ Public Class mgrMonitorList
hshParams.Add("ExcludeList", oGame.ExcludeList)
hshParams.Add("Hours", oGame.Hours)
'Required Defaults
hshParams.Add("Enabled", True)
hshParams.Add("MonitorOnly", False)
oParamList.Add(hshParams)
Next