Fixed a triggering spelling error
This commit is contained in:
@@ -295,7 +295,7 @@ Public Class frmMain
|
|||||||
OperationStarted(False)
|
OperationStarted(False)
|
||||||
|
|
||||||
If oProcess.GameInfo.MonitorOnly = False Then
|
If oProcess.GameInfo.MonitorOnly = False Then
|
||||||
If SupressSession() Then
|
If SuppressSession() Then
|
||||||
bDoBackup = False
|
bDoBackup = False
|
||||||
UpdateLog(mgrCommon.FormatString(frmMain_ErrorBackupSessionLength, oProcess.GameInfo.Name), False)
|
UpdateLog(mgrCommon.FormatString(frmMain_ErrorBackupSessionLength, oProcess.GameInfo.Name), False)
|
||||||
SetLastAction(mgrCommon.FormatString(frmMain_ErrorBackupSessionLength, oProcess.GameInfo.CroppedName))
|
SetLastAction(mgrCommon.FormatString(frmMain_ErrorBackupSessionLength, oProcess.GameInfo.CroppedName))
|
||||||
@@ -718,7 +718,7 @@ Public Class frmMain
|
|||||||
Private Sub HandleSession()
|
Private Sub HandleSession()
|
||||||
Dim oSession As clsSession
|
Dim oSession As clsSession
|
||||||
|
|
||||||
If Not SupressSession() Then
|
If Not SuppressSession() Then
|
||||||
'Record Session
|
'Record Session
|
||||||
oSession = New clsSession
|
oSession = New clsSession
|
||||||
oSession.MonitorID = oProcess.GameInfo.ID
|
oSession.MonitorID = oProcess.GameInfo.ID
|
||||||
@@ -729,11 +729,11 @@ Public Class frmMain
|
|||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Function SupressSession() As Boolean
|
Private Function SuppressSession() As Boolean
|
||||||
Dim iSession As Integer
|
Dim iSession As Integer
|
||||||
If oSettings.SupressBackup Then
|
If oSettings.SuppressBackup Then
|
||||||
iSession = Math.Ceiling(oProcess.TimeSpent.TotalMinutes)
|
iSession = Math.Ceiling(oProcess.TimeSpent.TotalMinutes)
|
||||||
If iSession > oSettings.SupressBackupThreshold Then
|
If iSession > oSettings.SuppressBackupThreshold Then
|
||||||
Return False
|
Return False
|
||||||
Else
|
Else
|
||||||
Return True
|
Return True
|
||||||
|
|||||||
Generated
+78
-78
@@ -46,6 +46,7 @@ Partial Class frmSettings
|
|||||||
Me.lbl7zProduct = New System.Windows.Forms.Label()
|
Me.lbl7zProduct = New System.Windows.Forms.Label()
|
||||||
Me.btnDefaults = New System.Windows.Forms.Button()
|
Me.btnDefaults = New System.Windows.Forms.Button()
|
||||||
Me.pnlBackup = New System.Windows.Forms.Panel()
|
Me.pnlBackup = New System.Windows.Forms.Panel()
|
||||||
|
Me.grpBackupConfirmations = New System.Windows.Forms.GroupBox()
|
||||||
Me.chkBackupConfirm = New System.Windows.Forms.CheckBox()
|
Me.chkBackupConfirm = New System.Windows.Forms.CheckBox()
|
||||||
Me.chkOverwriteWarning = New System.Windows.Forms.CheckBox()
|
Me.chkOverwriteWarning = New System.Windows.Forms.CheckBox()
|
||||||
Me.grpBackupHandling = New System.Windows.Forms.GroupBox()
|
Me.grpBackupHandling = New System.Windows.Forms.GroupBox()
|
||||||
@@ -56,38 +57,37 @@ Partial Class frmSettings
|
|||||||
Me.grp7zAdvanced = New System.Windows.Forms.GroupBox()
|
Me.grp7zAdvanced = New System.Windows.Forms.GroupBox()
|
||||||
Me.grp7zInformation = New System.Windows.Forms.GroupBox()
|
Me.grp7zInformation = New System.Windows.Forms.GroupBox()
|
||||||
Me.pnlGeneral = New System.Windows.Forms.Panel()
|
Me.pnlGeneral = New System.Windows.Forms.Panel()
|
||||||
|
Me.grpGameMonitoringOptions = New System.Windows.Forms.GroupBox()
|
||||||
|
Me.chkSuppressBackup = New System.Windows.Forms.CheckBox()
|
||||||
Me.lblMinutes = New System.Windows.Forms.Label()
|
Me.lblMinutes = New System.Windows.Forms.Label()
|
||||||
Me.nudSupressBackupThreshold = New System.Windows.Forms.NumericUpDown()
|
Me.nudSuppressBackupThreshold = New System.Windows.Forms.NumericUpDown()
|
||||||
Me.chkSupressBackup = New System.Windows.Forms.CheckBox()
|
Me.grpLogOptions = New System.Windows.Forms.GroupBox()
|
||||||
|
Me.chkDisableSyncMessages = New System.Windows.Forms.CheckBox()
|
||||||
Me.grpGameData = New System.Windows.Forms.GroupBox()
|
Me.grpGameData = New System.Windows.Forms.GroupBox()
|
||||||
Me.chkSessionTracking = New System.Windows.Forms.CheckBox()
|
Me.chkSessionTracking = New System.Windows.Forms.CheckBox()
|
||||||
Me.lstSettings = New System.Windows.Forms.ListBox()
|
Me.lstSettings = New System.Windows.Forms.ListBox()
|
||||||
Me.btnResetMessages = New System.Windows.Forms.Button()
|
Me.btnResetMessages = New System.Windows.Forms.Button()
|
||||||
Me.grpBackupConfirmations = New System.Windows.Forms.GroupBox()
|
|
||||||
Me.pnlStartup = New System.Windows.Forms.Panel()
|
Me.pnlStartup = New System.Windows.Forms.Panel()
|
||||||
Me.grpStartup = New System.Windows.Forms.GroupBox()
|
Me.grpStartup = New System.Windows.Forms.GroupBox()
|
||||||
Me.chkBackupOnLaunch = New System.Windows.Forms.CheckBox()
|
Me.chkBackupOnLaunch = New System.Windows.Forms.CheckBox()
|
||||||
Me.chkStartWindows = New System.Windows.Forms.CheckBox()
|
Me.chkStartWindows = New System.Windows.Forms.CheckBox()
|
||||||
Me.chkStartToTray = New System.Windows.Forms.CheckBox()
|
Me.chkStartToTray = New System.Windows.Forms.CheckBox()
|
||||||
Me.chkMonitorOnStartup = New System.Windows.Forms.CheckBox()
|
Me.chkMonitorOnStartup = New System.Windows.Forms.CheckBox()
|
||||||
Me.grpLogOptions = New System.Windows.Forms.GroupBox()
|
|
||||||
Me.chkDisableSyncMessages = New System.Windows.Forms.CheckBox()
|
|
||||||
Me.grpGameMonitoringOptions = New System.Windows.Forms.GroupBox()
|
|
||||||
Me.grpFolderOptions.SuspendLayout()
|
Me.grpFolderOptions.SuspendLayout()
|
||||||
Me.grp7zGeneral.SuspendLayout()
|
Me.grp7zGeneral.SuspendLayout()
|
||||||
Me.pnlBackup.SuspendLayout()
|
Me.pnlBackup.SuspendLayout()
|
||||||
|
Me.grpBackupConfirmations.SuspendLayout()
|
||||||
Me.grpBackupHandling.SuspendLayout()
|
Me.grpBackupHandling.SuspendLayout()
|
||||||
Me.pnl7z.SuspendLayout()
|
Me.pnl7z.SuspendLayout()
|
||||||
Me.grp7zAdvanced.SuspendLayout()
|
Me.grp7zAdvanced.SuspendLayout()
|
||||||
Me.grp7zInformation.SuspendLayout()
|
Me.grp7zInformation.SuspendLayout()
|
||||||
Me.pnlGeneral.SuspendLayout()
|
Me.pnlGeneral.SuspendLayout()
|
||||||
CType(Me.nudSupressBackupThreshold, System.ComponentModel.ISupportInitialize).BeginInit()
|
Me.grpGameMonitoringOptions.SuspendLayout()
|
||||||
|
CType(Me.nudSuppressBackupThreshold, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
|
Me.grpLogOptions.SuspendLayout()
|
||||||
Me.grpGameData.SuspendLayout()
|
Me.grpGameData.SuspendLayout()
|
||||||
Me.grpBackupConfirmations.SuspendLayout()
|
|
||||||
Me.pnlStartup.SuspendLayout()
|
Me.pnlStartup.SuspendLayout()
|
||||||
Me.grpStartup.SuspendLayout()
|
Me.grpStartup.SuspendLayout()
|
||||||
Me.grpLogOptions.SuspendLayout()
|
|
||||||
Me.grpGameMonitoringOptions.SuspendLayout()
|
|
||||||
Me.SuspendLayout()
|
Me.SuspendLayout()
|
||||||
'
|
'
|
||||||
'chkAutoSaveLog
|
'chkAutoSaveLog
|
||||||
@@ -315,6 +315,17 @@ Partial Class frmSettings
|
|||||||
Me.pnlBackup.Size = New System.Drawing.Size(367, 314)
|
Me.pnlBackup.Size = New System.Drawing.Size(367, 314)
|
||||||
Me.pnlBackup.TabIndex = 3
|
Me.pnlBackup.TabIndex = 3
|
||||||
'
|
'
|
||||||
|
'grpBackupConfirmations
|
||||||
|
'
|
||||||
|
Me.grpBackupConfirmations.Controls.Add(Me.chkBackupConfirm)
|
||||||
|
Me.grpBackupConfirmations.Controls.Add(Me.chkOverwriteWarning)
|
||||||
|
Me.grpBackupConfirmations.Location = New System.Drawing.Point(6, 200)
|
||||||
|
Me.grpBackupConfirmations.Name = "grpBackupConfirmations"
|
||||||
|
Me.grpBackupConfirmations.Size = New System.Drawing.Size(354, 65)
|
||||||
|
Me.grpBackupConfirmations.TabIndex = 2
|
||||||
|
Me.grpBackupConfirmations.TabStop = False
|
||||||
|
Me.grpBackupConfirmations.Text = "Backup Confirmations"
|
||||||
|
'
|
||||||
'chkBackupConfirm
|
'chkBackupConfirm
|
||||||
'
|
'
|
||||||
Me.chkBackupConfirm.AutoSize = True
|
Me.chkBackupConfirm.AutoSize = True
|
||||||
@@ -426,6 +437,29 @@ Partial Class frmSettings
|
|||||||
Me.pnlGeneral.Size = New System.Drawing.Size(367, 314)
|
Me.pnlGeneral.Size = New System.Drawing.Size(367, 314)
|
||||||
Me.pnlGeneral.TabIndex = 1
|
Me.pnlGeneral.TabIndex = 1
|
||||||
'
|
'
|
||||||
|
'grpGameMonitoringOptions
|
||||||
|
'
|
||||||
|
Me.grpGameMonitoringOptions.Controls.Add(Me.chkSuppressBackup)
|
||||||
|
Me.grpGameMonitoringOptions.Controls.Add(Me.lblMinutes)
|
||||||
|
Me.grpGameMonitoringOptions.Controls.Add(Me.chkShowDetectionTips)
|
||||||
|
Me.grpGameMonitoringOptions.Controls.Add(Me.nudSuppressBackupThreshold)
|
||||||
|
Me.grpGameMonitoringOptions.Location = New System.Drawing.Point(6, 115)
|
||||||
|
Me.grpGameMonitoringOptions.Name = "grpGameMonitoringOptions"
|
||||||
|
Me.grpGameMonitoringOptions.Size = New System.Drawing.Size(354, 65)
|
||||||
|
Me.grpGameMonitoringOptions.TabIndex = 1
|
||||||
|
Me.grpGameMonitoringOptions.TabStop = False
|
||||||
|
Me.grpGameMonitoringOptions.Text = "Game Monitoring Options"
|
||||||
|
'
|
||||||
|
'chkSuppressBackup
|
||||||
|
'
|
||||||
|
Me.chkSuppressBackup.AutoSize = True
|
||||||
|
Me.chkSuppressBackup.Location = New System.Drawing.Point(6, 18)
|
||||||
|
Me.chkSuppressBackup.Name = "chkSuppressBackup"
|
||||||
|
Me.chkSuppressBackup.Size = New System.Drawing.Size(158, 17)
|
||||||
|
Me.chkSuppressBackup.TabIndex = 2
|
||||||
|
Me.chkSuppressBackup.Text = "Ignore sessions shorter than"
|
||||||
|
Me.chkSuppressBackup.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
'lblMinutes
|
'lblMinutes
|
||||||
'
|
'
|
||||||
Me.lblMinutes.AutoSize = True
|
Me.lblMinutes.AutoSize = True
|
||||||
@@ -435,23 +469,34 @@ Partial Class frmSettings
|
|||||||
Me.lblMinutes.TabIndex = 17
|
Me.lblMinutes.TabIndex = 17
|
||||||
Me.lblMinutes.Text = "minutes"
|
Me.lblMinutes.Text = "minutes"
|
||||||
'
|
'
|
||||||
'nudSupressBackupThreshold
|
'nudSuppressBackupThreshold
|
||||||
'
|
'
|
||||||
Me.nudSupressBackupThreshold.Location = New System.Drawing.Point(170, 17)
|
Me.nudSuppressBackupThreshold.Location = New System.Drawing.Point(170, 17)
|
||||||
Me.nudSupressBackupThreshold.Maximum = New Decimal(New Integer() {999, 0, 0, 0})
|
Me.nudSuppressBackupThreshold.Maximum = New Decimal(New Integer() {999, 0, 0, 0})
|
||||||
Me.nudSupressBackupThreshold.Name = "nudSupressBackupThreshold"
|
Me.nudSuppressBackupThreshold.Name = "nudSuppressBackupThreshold"
|
||||||
Me.nudSupressBackupThreshold.Size = New System.Drawing.Size(51, 20)
|
Me.nudSuppressBackupThreshold.Size = New System.Drawing.Size(51, 20)
|
||||||
Me.nudSupressBackupThreshold.TabIndex = 3
|
Me.nudSuppressBackupThreshold.TabIndex = 3
|
||||||
'
|
'
|
||||||
'chkSupressBackup
|
'grpLogOptions
|
||||||
'
|
'
|
||||||
Me.chkSupressBackup.AutoSize = True
|
Me.grpLogOptions.Controls.Add(Me.chkDisableSyncMessages)
|
||||||
Me.chkSupressBackup.Location = New System.Drawing.Point(6, 18)
|
Me.grpLogOptions.Controls.Add(Me.chkAutoSaveLog)
|
||||||
Me.chkSupressBackup.Name = "chkSupressBackup"
|
Me.grpLogOptions.Location = New System.Drawing.Point(6, 186)
|
||||||
Me.chkSupressBackup.Size = New System.Drawing.Size(158, 17)
|
Me.grpLogOptions.Name = "grpLogOptions"
|
||||||
Me.chkSupressBackup.TabIndex = 2
|
Me.grpLogOptions.Size = New System.Drawing.Size(354, 65)
|
||||||
Me.chkSupressBackup.Text = "Ignore sessions shorter than"
|
Me.grpLogOptions.TabIndex = 2
|
||||||
Me.chkSupressBackup.UseVisualStyleBackColor = True
|
Me.grpLogOptions.TabStop = False
|
||||||
|
Me.grpLogOptions.Text = "Log Options"
|
||||||
|
'
|
||||||
|
'chkDisableSyncMessages
|
||||||
|
'
|
||||||
|
Me.chkDisableSyncMessages.AutoSize = True
|
||||||
|
Me.chkDisableSyncMessages.Location = New System.Drawing.Point(6, 19)
|
||||||
|
Me.chkDisableSyncMessages.Name = "chkDisableSyncMessages"
|
||||||
|
Me.chkDisableSyncMessages.Size = New System.Drawing.Size(166, 17)
|
||||||
|
Me.chkDisableSyncMessages.TabIndex = 0
|
||||||
|
Me.chkDisableSyncMessages.Text = "Disable sync event messages"
|
||||||
|
Me.chkDisableSyncMessages.UseVisualStyleBackColor = True
|
||||||
'
|
'
|
||||||
'grpGameData
|
'grpGameData
|
||||||
'
|
'
|
||||||
@@ -492,17 +537,6 @@ Partial Class frmSettings
|
|||||||
Me.btnResetMessages.Text = "&Reset Warnings"
|
Me.btnResetMessages.Text = "&Reset Warnings"
|
||||||
Me.btnResetMessages.UseVisualStyleBackColor = True
|
Me.btnResetMessages.UseVisualStyleBackColor = True
|
||||||
'
|
'
|
||||||
'grpBackupConfirmations
|
|
||||||
'
|
|
||||||
Me.grpBackupConfirmations.Controls.Add(Me.chkBackupConfirm)
|
|
||||||
Me.grpBackupConfirmations.Controls.Add(Me.chkOverwriteWarning)
|
|
||||||
Me.grpBackupConfirmations.Location = New System.Drawing.Point(6, 200)
|
|
||||||
Me.grpBackupConfirmations.Name = "grpBackupConfirmations"
|
|
||||||
Me.grpBackupConfirmations.Size = New System.Drawing.Size(354, 65)
|
|
||||||
Me.grpBackupConfirmations.TabIndex = 2
|
|
||||||
Me.grpBackupConfirmations.TabStop = False
|
|
||||||
Me.grpBackupConfirmations.Text = "Backup Confirmations"
|
|
||||||
'
|
|
||||||
'pnlStartup
|
'pnlStartup
|
||||||
'
|
'
|
||||||
Me.pnlStartup.Controls.Add(Me.grpStartup)
|
Me.pnlStartup.Controls.Add(Me.grpStartup)
|
||||||
@@ -564,40 +598,6 @@ Partial Class frmSettings
|
|||||||
Me.chkMonitorOnStartup.Text = "Start monitoring on launch"
|
Me.chkMonitorOnStartup.Text = "Start monitoring on launch"
|
||||||
Me.chkMonitorOnStartup.UseVisualStyleBackColor = True
|
Me.chkMonitorOnStartup.UseVisualStyleBackColor = True
|
||||||
'
|
'
|
||||||
'grpLogOptions
|
|
||||||
'
|
|
||||||
Me.grpLogOptions.Controls.Add(Me.chkDisableSyncMessages)
|
|
||||||
Me.grpLogOptions.Controls.Add(Me.chkAutoSaveLog)
|
|
||||||
Me.grpLogOptions.Location = New System.Drawing.Point(6, 193)
|
|
||||||
Me.grpLogOptions.Name = "grpLogOptions"
|
|
||||||
Me.grpLogOptions.Size = New System.Drawing.Size(354, 65)
|
|
||||||
Me.grpLogOptions.TabIndex = 2
|
|
||||||
Me.grpLogOptions.TabStop = False
|
|
||||||
Me.grpLogOptions.Text = "Log Options"
|
|
||||||
'
|
|
||||||
'chkDisableSyncMessages
|
|
||||||
'
|
|
||||||
Me.chkDisableSyncMessages.AutoSize = True
|
|
||||||
Me.chkDisableSyncMessages.Location = New System.Drawing.Point(6, 19)
|
|
||||||
Me.chkDisableSyncMessages.Name = "chkDisableSyncMessages"
|
|
||||||
Me.chkDisableSyncMessages.Size = New System.Drawing.Size(166, 17)
|
|
||||||
Me.chkDisableSyncMessages.TabIndex = 0
|
|
||||||
Me.chkDisableSyncMessages.Text = "Disable sync event messages"
|
|
||||||
Me.chkDisableSyncMessages.UseVisualStyleBackColor = True
|
|
||||||
'
|
|
||||||
'grpGameMonitoringOptions
|
|
||||||
'
|
|
||||||
Me.grpGameMonitoringOptions.Controls.Add(Me.chkSupressBackup)
|
|
||||||
Me.grpGameMonitoringOptions.Controls.Add(Me.lblMinutes)
|
|
||||||
Me.grpGameMonitoringOptions.Controls.Add(Me.chkShowDetectionTips)
|
|
||||||
Me.grpGameMonitoringOptions.Controls.Add(Me.nudSupressBackupThreshold)
|
|
||||||
Me.grpGameMonitoringOptions.Location = New System.Drawing.Point(6, 115)
|
|
||||||
Me.grpGameMonitoringOptions.Name = "grpGameMonitoringOptions"
|
|
||||||
Me.grpGameMonitoringOptions.Size = New System.Drawing.Size(354, 72)
|
|
||||||
Me.grpGameMonitoringOptions.TabIndex = 1
|
|
||||||
Me.grpGameMonitoringOptions.TabStop = False
|
|
||||||
Me.grpGameMonitoringOptions.Text = "Game Monitoring Options"
|
|
||||||
'
|
|
||||||
'frmSettings
|
'frmSettings
|
||||||
'
|
'
|
||||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||||
@@ -625,6 +625,8 @@ Partial Class frmSettings
|
|||||||
Me.grp7zGeneral.ResumeLayout(False)
|
Me.grp7zGeneral.ResumeLayout(False)
|
||||||
Me.grp7zGeneral.PerformLayout()
|
Me.grp7zGeneral.PerformLayout()
|
||||||
Me.pnlBackup.ResumeLayout(False)
|
Me.pnlBackup.ResumeLayout(False)
|
||||||
|
Me.grpBackupConfirmations.ResumeLayout(False)
|
||||||
|
Me.grpBackupConfirmations.PerformLayout()
|
||||||
Me.grpBackupHandling.ResumeLayout(False)
|
Me.grpBackupHandling.ResumeLayout(False)
|
||||||
Me.grpBackupHandling.PerformLayout()
|
Me.grpBackupHandling.PerformLayout()
|
||||||
Me.pnl7z.ResumeLayout(False)
|
Me.pnl7z.ResumeLayout(False)
|
||||||
@@ -632,18 +634,16 @@ Partial Class frmSettings
|
|||||||
Me.grp7zAdvanced.PerformLayout()
|
Me.grp7zAdvanced.PerformLayout()
|
||||||
Me.grp7zInformation.ResumeLayout(False)
|
Me.grp7zInformation.ResumeLayout(False)
|
||||||
Me.pnlGeneral.ResumeLayout(False)
|
Me.pnlGeneral.ResumeLayout(False)
|
||||||
CType(Me.nudSupressBackupThreshold, System.ComponentModel.ISupportInitialize).EndInit()
|
Me.grpGameMonitoringOptions.ResumeLayout(False)
|
||||||
|
Me.grpGameMonitoringOptions.PerformLayout()
|
||||||
|
CType(Me.nudSuppressBackupThreshold, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
|
Me.grpLogOptions.ResumeLayout(False)
|
||||||
|
Me.grpLogOptions.PerformLayout()
|
||||||
Me.grpGameData.ResumeLayout(False)
|
Me.grpGameData.ResumeLayout(False)
|
||||||
Me.grpGameData.PerformLayout()
|
Me.grpGameData.PerformLayout()
|
||||||
Me.grpBackupConfirmations.ResumeLayout(False)
|
|
||||||
Me.grpBackupConfirmations.PerformLayout()
|
|
||||||
Me.pnlStartup.ResumeLayout(False)
|
Me.pnlStartup.ResumeLayout(False)
|
||||||
Me.grpStartup.ResumeLayout(False)
|
Me.grpStartup.ResumeLayout(False)
|
||||||
Me.grpStartup.PerformLayout()
|
Me.grpStartup.PerformLayout()
|
||||||
Me.grpLogOptions.ResumeLayout(False)
|
|
||||||
Me.grpLogOptions.PerformLayout()
|
|
||||||
Me.grpGameMonitoringOptions.ResumeLayout(False)
|
|
||||||
Me.grpGameMonitoringOptions.PerformLayout()
|
|
||||||
Me.ResumeLayout(False)
|
Me.ResumeLayout(False)
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
@@ -684,8 +684,8 @@ Partial Class frmSettings
|
|||||||
Friend WithEvents chkRestoreNotify As CheckBox
|
Friend WithEvents chkRestoreNotify As CheckBox
|
||||||
Friend WithEvents chkSessionTracking As CheckBox
|
Friend WithEvents chkSessionTracking As CheckBox
|
||||||
Friend WithEvents lblMinutes As Label
|
Friend WithEvents lblMinutes As Label
|
||||||
Friend WithEvents nudSupressBackupThreshold As NumericUpDown
|
Friend WithEvents nudSuppressBackupThreshold As NumericUpDown
|
||||||
Friend WithEvents chkSupressBackup As CheckBox
|
Friend WithEvents chkSuppressBackup As CheckBox
|
||||||
Friend WithEvents btnResetMessages As Button
|
Friend WithEvents btnResetMessages As Button
|
||||||
Friend WithEvents chkUseGameID As CheckBox
|
Friend WithEvents chkUseGameID As CheckBox
|
||||||
Friend WithEvents grpBackupConfirmations As GroupBox
|
Friend WithEvents grpBackupConfirmations As GroupBox
|
||||||
|
|||||||
@@ -60,8 +60,8 @@ Public Class frmSettings
|
|||||||
oSettings.AutoMark = chkAutoMark.Checked
|
oSettings.AutoMark = chkAutoMark.Checked
|
||||||
oSettings.TimeTracking = chkTimeTracking.Checked
|
oSettings.TimeTracking = chkTimeTracking.Checked
|
||||||
oSettings.SessionTracking = chkSessionTracking.Checked
|
oSettings.SessionTracking = chkSessionTracking.Checked
|
||||||
oSettings.SupressBackup = chkSupressBackup.Checked
|
oSettings.SuppressBackup = chkSuppressBackup.Checked
|
||||||
oSettings.SupressBackupThreshold = nudSupressBackupThreshold.Value
|
oSettings.SuppressBackupThreshold = nudSuppressBackupThreshold.Value
|
||||||
oSettings.CompressionLevel = cboCompression.SelectedValue
|
oSettings.CompressionLevel = cboCompression.SelectedValue
|
||||||
|
|
||||||
If oSettings.Custom7zArguments <> txt7zArguments.Text.Trim And txt7zArguments.Text.Trim <> String.Empty Then
|
If oSettings.Custom7zArguments <> txt7zArguments.Text.Trim And txt7zArguments.Text.Trim <> String.Empty Then
|
||||||
@@ -167,7 +167,7 @@ Public Class frmSettings
|
|||||||
|
|
||||||
Private Sub ResetMessages()
|
Private Sub ResetMessages()
|
||||||
If mgrCommon.ShowMessage(frmSettings_ConfirmMessageReset, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
|
If mgrCommon.ShowMessage(frmSettings_ConfirmMessageReset, MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
|
||||||
oSettings.SupressMessages = mgrSettings.eSupressMessages.None
|
oSettings.SuppressMessages = mgrSettings.eSuppressMessages.None
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -189,9 +189,9 @@ Public Class frmSettings
|
|||||||
txtBackupFolder.Text = oSettings.BackupFolder
|
txtBackupFolder.Text = oSettings.BackupFolder
|
||||||
chkTimeTracking.Checked = oSettings.TimeTracking
|
chkTimeTracking.Checked = oSettings.TimeTracking
|
||||||
chkSessionTracking.Checked = oSettings.SessionTracking
|
chkSessionTracking.Checked = oSettings.SessionTracking
|
||||||
chkSupressBackup.Checked = oSettings.SupressBackup
|
chkSuppressBackup.Checked = oSettings.SuppressBackup
|
||||||
nudSupressBackupThreshold.Value = oSettings.SupressBackupThreshold
|
nudSuppressBackupThreshold.Value = oSettings.SuppressBackupThreshold
|
||||||
nudSupressBackupThreshold.Enabled = chkSupressBackup.Checked
|
nudSuppressBackupThreshold.Enabled = chkSuppressBackup.Checked
|
||||||
cboCompression.SelectedValue = oSettings.CompressionLevel
|
cboCompression.SelectedValue = oSettings.CompressionLevel
|
||||||
txt7zArguments.Text = oSettings.Custom7zArguments
|
txt7zArguments.Text = oSettings.Custom7zArguments
|
||||||
txt7zLocation.Text = oSettings.Custom7zLocation
|
txt7zLocation.Text = oSettings.Custom7zLocation
|
||||||
@@ -285,7 +285,7 @@ Public Class frmSettings
|
|||||||
|
|
||||||
'Set Form Text
|
'Set Form Text
|
||||||
lblMinutes.Text = frmSettings_lblMinutes
|
lblMinutes.Text = frmSettings_lblMinutes
|
||||||
chkSupressBackup.Text = frmSettings_chkSupressBackup
|
chkSuppressBackup.Text = frmSettings_chkSuppressBackup
|
||||||
grpBackupHandling.Text = frmSettings_grpBackupHandling
|
grpBackupHandling.Text = frmSettings_grpBackupHandling
|
||||||
chkRestoreNotify.Text = frmSettings_chkRestoreNotify
|
chkRestoreNotify.Text = frmSettings_chkRestoreNotify
|
||||||
chkAutoRestore.Text = frmSettings_chkAutoRestore
|
chkAutoRestore.Text = frmSettings_chkAutoRestore
|
||||||
@@ -368,8 +368,8 @@ Public Class frmSettings
|
|||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub chkSupressBackup_CheckedChanged(sender As Object, e As EventArgs) Handles chkSupressBackup.CheckedChanged
|
Private Sub chkSuppressBackup_CheckedChanged(sender As Object, e As EventArgs) Handles chkSuppressBackup.CheckedChanged
|
||||||
nudSupressBackupThreshold.Enabled = chkSupressBackup.Checked
|
nudSuppressBackupThreshold.Enabled = chkSuppressBackup.Checked
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub txt7zLocation_Leave(sender As Object, e As EventArgs) Handles txt7zLocation.Leave
|
Private Sub txt7zLocation_Leave(sender As Object, e As EventArgs) Handles txt7zLocation.Leave
|
||||||
|
|||||||
@@ -795,11 +795,11 @@ Public Class mgrMonitorList
|
|||||||
Dim sWarning As String
|
Dim sWarning As String
|
||||||
|
|
||||||
If bOfficial Then
|
If bOfficial Then
|
||||||
If (oSettings.SupressMessages And mgrSettings.eSupressMessages.GameIDSync) = mgrSettings.eSupressMessages.GameIDSync Then
|
If (oSettings.SuppressMessages And mgrSettings.eSuppressMessages.GameIDSync) = mgrSettings.eSuppressMessages.GameIDSync Then
|
||||||
sWarning = mgrMonitorList_ConfirmOfficialGameIDSync
|
sWarning = mgrMonitorList_ConfirmOfficialGameIDSync
|
||||||
Else
|
Else
|
||||||
sWarning = mgrMonitorList_ConfirmInitialOfficialGameIDSync
|
sWarning = mgrMonitorList_ConfirmInitialOfficialGameIDSync
|
||||||
oSettings.SupressMessages = oSettings.SetMessageField(oSettings.SupressMessages, mgrSettings.eSupressMessages.GameIDSync)
|
oSettings.SuppressMessages = oSettings.SetMessageField(oSettings.SuppressMessages, mgrSettings.eSuppressMessages.GameIDSync)
|
||||||
oSettings.SaveSettings()
|
oSettings.SaveSettings()
|
||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
@@ -830,7 +830,7 @@ Public Class mgrMonitorList
|
|||||||
Public Shared Function DoImport(ByVal sPath As String, ByVal bOfficial As Boolean, ByRef oSettings As mgrSettings, Optional ByVal bStartUpWizard As Boolean = False) As Boolean
|
Public Shared Function DoImport(ByVal sPath As String, ByVal bOfficial As Boolean, ByRef oSettings As mgrSettings, Optional ByVal bStartUpWizard As Boolean = False) As Boolean
|
||||||
If mgrCommon.IsAddress(sPath) Then
|
If mgrCommon.IsAddress(sPath) Then
|
||||||
If mgrCommon.CheckAddress(sPath) Then
|
If mgrCommon.CheckAddress(sPath) Then
|
||||||
If bOfficial And Not bStartUpWizard And Not ((oSettings.SupressMessages And mgrSettings.eSupressMessages.GameIDSync) = mgrSettings.eSupressMessages.GameIDSync) Then
|
If bOfficial And Not bStartUpWizard And Not ((oSettings.SuppressMessages And mgrSettings.eSuppressMessages.GameIDSync) = mgrSettings.eSuppressMessages.GameIDSync) Then
|
||||||
SyncGameIDs(sPath, oSettings, True)
|
SyncGameIDs(sPath, oSettings, True)
|
||||||
End If
|
End If
|
||||||
ImportMonitorList(sPath, True)
|
ImportMonitorList(sPath, True)
|
||||||
|
|||||||
@@ -73,9 +73,9 @@ Public Class mgrSQLite
|
|||||||
sSql = "CREATE TABLE settings (SettingsID INTEGER NOT NULL PRIMARY KEY, MonitorOnStartup BOOLEAN NOT NULL, StartToTray BOOLEAN NOT NULL, ShowDetectionToolTips BOOLEAN NOT NULL, " &
|
sSql = "CREATE TABLE settings (SettingsID INTEGER NOT NULL PRIMARY KEY, MonitorOnStartup BOOLEAN NOT NULL, StartToTray BOOLEAN NOT NULL, ShowDetectionToolTips BOOLEAN NOT NULL, " &
|
||||||
"DisableConfirmation BOOLEAN NOT NULL, CreateSubFolder BOOLEAN NOT NULL, ShowOverwriteWarning BOOLEAN NOT NULL, RestoreOnLaunch BOOLEAN NOT NULL, " &
|
"DisableConfirmation BOOLEAN NOT NULL, CreateSubFolder BOOLEAN NOT NULL, ShowOverwriteWarning BOOLEAN NOT NULL, RestoreOnLaunch BOOLEAN NOT NULL, " &
|
||||||
"BackupFolder TEXT NOT NULL, StartWithWindows BOOLEAN NOT NULL, TimeTracking BOOLEAN NOT NULL, " &
|
"BackupFolder TEXT NOT NULL, StartWithWindows BOOLEAN NOT NULL, TimeTracking BOOLEAN NOT NULL, " &
|
||||||
"SupressBackup BOOLEAN NOT NULL, SupressBackupThreshold INTEGER NOT NULL, CompressionLevel INTEGER NOT NULL, Custom7zArguments TEXT, " &
|
"SuppressBackup BOOLEAN NOT NULL, SuppressBackupThreshold INTEGER NOT NULL, CompressionLevel INTEGER NOT NULL, Custom7zArguments TEXT, " &
|
||||||
"Custom7zLocation TEXT, SyncFields INTEGER NOT NULL, AutoSaveLog BOOLEAN NOT NULL, AutoRestore BOOLEAN NOT NULL, AutoMark BOOLEAN NOT NULL, SessionTracking BOOLEAN NOT NULL, " &
|
"Custom7zLocation TEXT, SyncFields INTEGER NOT NULL, AutoSaveLog BOOLEAN NOT NULL, AutoRestore BOOLEAN NOT NULL, AutoMark BOOLEAN NOT NULL, SessionTracking BOOLEAN NOT NULL, " &
|
||||||
"SupressMessages INTEGER NOT NULL, BackupOnLaunch BOOLEAN NOT NULL, UseGameID BOOLEAN NOT NULL, DisableSyncMessages BOOLEAN NOT NULL);"
|
"SuppressMessages INTEGER NOT NULL, BackupOnLaunch BOOLEAN NOT NULL, UseGameID BOOLEAN NOT NULL, DisableSyncMessages BOOLEAN NOT NULL);"
|
||||||
|
|
||||||
'Add Tables (SavedPath)
|
'Add Tables (SavedPath)
|
||||||
sSql &= "CREATE TABLE savedpath (PathName TEXT NOT NULL PRIMARY KEY, Path TEXT NOT NULL);"
|
sSql &= "CREATE TABLE savedpath (PathName TEXT NOT NULL PRIMARY KEY, Path TEXT NOT NULL);"
|
||||||
@@ -781,12 +781,12 @@ Public Class mgrSQLite
|
|||||||
sSQL &= "CREATE TABLE settings_new (SettingsID INTEGER NOT NULL PRIMARY KEY, MonitorOnStartup BOOLEAN NOT NULL, StartToTray BOOLEAN NOT NULL, ShowDetectionToolTips BOOLEAN NOT NULL, " &
|
sSQL &= "CREATE TABLE settings_new (SettingsID INTEGER NOT NULL PRIMARY KEY, MonitorOnStartup BOOLEAN NOT NULL, StartToTray BOOLEAN NOT NULL, ShowDetectionToolTips BOOLEAN NOT NULL, " &
|
||||||
"DisableConfirmation BOOLEAN NOT NULL, CreateSubFolder BOOLEAN NOT NULL, ShowOverwriteWarning BOOLEAN NOT NULL, RestoreOnLaunch BOOLEAN NOT NULL, " &
|
"DisableConfirmation BOOLEAN NOT NULL, CreateSubFolder BOOLEAN NOT NULL, ShowOverwriteWarning BOOLEAN NOT NULL, RestoreOnLaunch BOOLEAN NOT NULL, " &
|
||||||
"BackupFolder TEXT NOT NULL, StartWithWindows BOOLEAN NOT NULL, TimeTracking BOOLEAN NOT NULL, " &
|
"BackupFolder TEXT NOT NULL, StartWithWindows BOOLEAN NOT NULL, TimeTracking BOOLEAN NOT NULL, " &
|
||||||
"SupressBackup BOOLEAN NOT NULL, SupressBackupThreshold INTEGER NOT NULL, CompressionLevel INTEGER NOT NULL, Custom7zArguments TEXT, " &
|
"SuppressBackup BOOLEAN NOT NULL, SuppressBackupThreshold INTEGER NOT NULL, CompressionLevel INTEGER NOT NULL, Custom7zArguments TEXT, " &
|
||||||
"Custom7zLocation TEXT, SyncFields INTEGER NOT NULL, AutoSaveLog BOOLEAN NOT NULL, AutoRestore BOOLEAN NOT NULL, AutoMark BOOLEAN NOT NULL, SessionTracking BOOLEAN NOT NULL, " &
|
"Custom7zLocation TEXT, SyncFields INTEGER NOT NULL, AutoSaveLog BOOLEAN NOT NULL, AutoRestore BOOLEAN NOT NULL, AutoMark BOOLEAN NOT NULL, SessionTracking BOOLEAN NOT NULL, " &
|
||||||
"SupressMessages INTEGER NOT NULL, BackupOnLaunch BOOLEAN NOT NULL, UseGameID BOOLEAN NOT NULL, DisableSyncMessages BOOLEAN NOT NULL);"
|
"SuppressMessages INTEGER NOT NULL, BackupOnLaunch BOOLEAN NOT NULL, UseGameID BOOLEAN NOT NULL, DisableSyncMessages BOOLEAN NOT NULL);"
|
||||||
sSQL &= "INSERT INTO settings_new(SettingsID, MonitorOnStartup, StartToTray, ShowDetectionToolTips, DisableConfirmation, CreateSubFolder, ShowOverwriteWarning, RestoreOnLaunch, " &
|
sSQL &= "INSERT INTO settings_new(SettingsID, MonitorOnStartup, StartToTray, ShowDetectionToolTips, DisableConfirmation, CreateSubFolder, ShowOverwriteWarning, RestoreOnLaunch, " &
|
||||||
"BackupFolder, StartWithWindows, TimeTracking, SupressBackup, SupressBackupThreshold, CompressionLevel, Custom7zArguments, Custom7zLocation, SyncFields, AutoSaveLog, " &
|
"BackupFolder, StartWithWindows, TimeTracking, SuppressBackup, SuppressBackupThreshold, CompressionLevel, Custom7zArguments, Custom7zLocation, SyncFields, AutoSaveLog, " &
|
||||||
"AutoRestore, AutoMark, SessionTracking, SupressMessages, BackupOnLaunch, UseGameID, DisableSyncMessages) SELECT SettingsID, MonitorOnStartup, StartToTray, ShowDetectionToolTips, DisableConfirmation, CreateSubFolder, ShowOverwriteWarning, RestoreOnLaunch, " &
|
"AutoRestore, AutoMark, SessionTracking, SuppressMessages, BackupOnLaunch, UseGameID, DisableSyncMessages) SELECT SettingsID, MonitorOnStartup, StartToTray, ShowDetectionToolTips, DisableConfirmation, CreateSubFolder, ShowOverwriteWarning, RestoreOnLaunch, " &
|
||||||
"BackupFolder, StartWithWindows, TimeTracking, SupressBackup, SupressBackupThreshold, CompressionLevel, Custom7zArguments, Custom7zLocation, SyncFields, AutoSaveLog, " &
|
"BackupFolder, StartWithWindows, TimeTracking, SupressBackup, SupressBackupThreshold, CompressionLevel, Custom7zArguments, Custom7zLocation, SyncFields, AutoSaveLog, " &
|
||||||
"AutoRestore, AutoMark, SessionTracking, 0, 1, 0, 1 FROM settings;" &
|
"AutoRestore, AutoMark, SessionTracking, 0, 1, 0, 1 FROM settings;" &
|
||||||
"DROP TABLE settings; ALTER TABLE settings_new RENAME TO settings;"
|
"DROP TABLE settings; ALTER TABLE settings_new RENAME TO settings;"
|
||||||
|
|||||||
+24
-24
@@ -13,20 +13,20 @@ Public Class mgrSettings
|
|||||||
Private bAutoMark As Boolean = False
|
Private bAutoMark As Boolean = False
|
||||||
Private bTimeTracking As Boolean = True
|
Private bTimeTracking As Boolean = True
|
||||||
Private bSessionTracking As Boolean = False
|
Private bSessionTracking As Boolean = False
|
||||||
Private bSupressBackup As Boolean = False
|
Private bSuppressBackup As Boolean = False
|
||||||
Private iSupressBackupThreshold As Integer = 10
|
Private iSuppressBackupThreshold As Integer = 10
|
||||||
Private iCompressionLevel As Integer = 5
|
Private iCompressionLevel As Integer = 5
|
||||||
Private s7zArguments As String = String.Empty
|
Private s7zArguments As String = String.Empty
|
||||||
Private s7zLocation As String = String.Empty
|
Private s7zLocation As String = String.Empty
|
||||||
Private sBackupFolder As String = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments).TrimEnd(New Char() {"\", "/"})
|
Private sBackupFolder As String = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments).TrimEnd(New Char() {"\", "/"})
|
||||||
Private eSyncFields As clsGame.eOptionalSyncFields = clsGame.eOptionalSyncFields.None Or clsGame.eOptionalSyncFields.TimeStamp
|
Private eSyncFields As clsGame.eOptionalSyncFields = clsGame.eOptionalSyncFields.None Or clsGame.eOptionalSyncFields.TimeStamp
|
||||||
Private eMessages As eSupressMessages = eSupressMessages.None
|
Private eMessages As eSuppressMessages = eSuppressMessages.None
|
||||||
Private bAutoSaveLog As Boolean = False
|
Private bAutoSaveLog As Boolean = False
|
||||||
Private bBackupOnLaunch As Boolean = True
|
Private bBackupOnLaunch As Boolean = True
|
||||||
Private bUseGameID As Boolean = False
|
Private bUseGameID As Boolean = False
|
||||||
Private bDisableSyncMessages As Boolean = True
|
Private bDisableSyncMessages As Boolean = True
|
||||||
|
|
||||||
<Flags()> Public Enum eSupressMessages
|
<Flags()> Public Enum eSuppressMessages
|
||||||
None = 0
|
None = 0
|
||||||
GameIDSync = 1
|
GameIDSync = 1
|
||||||
End Enum
|
End Enum
|
||||||
@@ -139,21 +139,21 @@ Public Class mgrSettings
|
|||||||
End Set
|
End Set
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
Property SupressBackup As Boolean
|
Property SuppressBackup As Boolean
|
||||||
Get
|
Get
|
||||||
Return bSupressBackup
|
Return bSuppressBackup
|
||||||
End Get
|
End Get
|
||||||
Set(value As Boolean)
|
Set(value As Boolean)
|
||||||
bSupressBackup = value
|
bSuppressBackup = value
|
||||||
End Set
|
End Set
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
Property SupressBackupThreshold As Integer
|
Property SuppressBackupThreshold As Integer
|
||||||
Get
|
Get
|
||||||
Return iSupressBackupThreshold
|
Return iSuppressBackupThreshold
|
||||||
End Get
|
End Get
|
||||||
Set(value As Integer)
|
Set(value As Integer)
|
||||||
iSupressBackupThreshold = value
|
iSuppressBackupThreshold = value
|
||||||
End Set
|
End Set
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
@@ -259,11 +259,11 @@ Public Class mgrSettings
|
|||||||
End Set
|
End Set
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
Property SupressMessages As eSupressMessages
|
Property SuppressMessages As eSuppressMessages
|
||||||
Get
|
Get
|
||||||
Return eMessages
|
Return eMessages
|
||||||
End Get
|
End Get
|
||||||
Set(value As eSupressMessages)
|
Set(value As eSuppressMessages)
|
||||||
eMessages = value
|
eMessages = value
|
||||||
End Set
|
End Set
|
||||||
End Property
|
End Property
|
||||||
@@ -296,8 +296,8 @@ Public Class mgrSettings
|
|||||||
End Property
|
End Property
|
||||||
|
|
||||||
Sub New()
|
Sub New()
|
||||||
'The GameIDsync message should be supressed on all new databases
|
'The GameIDsync message should be suppressed on all new databases
|
||||||
SupressMessages = SetMessageField(SupressMessages, eSupressMessages.GameIDSync)
|
SuppressMessages = SetMessageField(SuppressMessages, eSuppressMessages.GameIDSync)
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub SaveFromClass()
|
Private Sub SaveFromClass()
|
||||||
@@ -307,8 +307,8 @@ Public Class mgrSettings
|
|||||||
|
|
||||||
sSQL = "INSERT OR REPLACE INTO settings VALUES (1, @MonitorOnStartup, @StartToTray, @ShowDetectionToolTips, @DisableConfirmation, "
|
sSQL = "INSERT OR REPLACE INTO settings VALUES (1, @MonitorOnStartup, @StartToTray, @ShowDetectionToolTips, @DisableConfirmation, "
|
||||||
sSQL &= "@CreateSubFolder, @ShowOverwriteWarning, @RestoreOnLaunch, @BackupFolder, @StartWithWindows, "
|
sSQL &= "@CreateSubFolder, @ShowOverwriteWarning, @RestoreOnLaunch, @BackupFolder, @StartWithWindows, "
|
||||||
sSQL &= "@TimeTracking, @SupressBackup, @SupressBackupThreshold, @CompressionLevel, @Custom7zArguments, @Custom7zLocation, "
|
sSQL &= "@TimeTracking, @SuppressBackup, @SuppressBackupThreshold, @CompressionLevel, @Custom7zArguments, @Custom7zLocation, "
|
||||||
sSQL &= "@SyncFields, @AutoSaveLog, @AutoRestore, @AutoMark, @SessionTracking, @SupressMessages, @BackupOnLaunch, @UseGameID, "
|
sSQL &= "@SyncFields, @AutoSaveLog, @AutoRestore, @AutoMark, @SessionTracking, @SuppressMessages, @BackupOnLaunch, @UseGameID, "
|
||||||
sSQL &= "@DisableSyncMessages)"
|
sSQL &= "@DisableSyncMessages)"
|
||||||
|
|
||||||
hshParams.Add("MonitorOnStartup", MonitorOnStartup)
|
hshParams.Add("MonitorOnStartup", MonitorOnStartup)
|
||||||
@@ -321,8 +321,8 @@ Public Class mgrSettings
|
|||||||
hshParams.Add("BackupFolder", BackupFolder)
|
hshParams.Add("BackupFolder", BackupFolder)
|
||||||
hshParams.Add("StartWithWindows", StartWithWindows)
|
hshParams.Add("StartWithWindows", StartWithWindows)
|
||||||
hshParams.Add("TimeTracking", TimeTracking)
|
hshParams.Add("TimeTracking", TimeTracking)
|
||||||
hshParams.Add("SupressBackup", SupressBackup)
|
hshParams.Add("SuppressBackup", SuppressBackup)
|
||||||
hshParams.Add("SupressBackupThreshold", SupressBackupThreshold)
|
hshParams.Add("SuppressBackupThreshold", SuppressBackupThreshold)
|
||||||
hshParams.Add("CompressionLevel", CompressionLevel)
|
hshParams.Add("CompressionLevel", CompressionLevel)
|
||||||
hshParams.Add("Custom7zArguments", Custom7zArguments)
|
hshParams.Add("Custom7zArguments", Custom7zArguments)
|
||||||
hshParams.Add("Custom7zLocation", Custom7zLocation)
|
hshParams.Add("Custom7zLocation", Custom7zLocation)
|
||||||
@@ -331,7 +331,7 @@ Public Class mgrSettings
|
|||||||
hshParams.Add("AutoRestore", AutoRestore)
|
hshParams.Add("AutoRestore", AutoRestore)
|
||||||
hshParams.Add("AutoMark", AutoMark)
|
hshParams.Add("AutoMark", AutoMark)
|
||||||
hshParams.Add("SessionTracking", SessionTracking)
|
hshParams.Add("SessionTracking", SessionTracking)
|
||||||
hshParams.Add("SupressMessages", SupressMessages)
|
hshParams.Add("SuppressMessages", SuppressMessages)
|
||||||
hshParams.Add("BackupOnLaunch", BackupOnLaunch)
|
hshParams.Add("BackupOnLaunch", BackupOnLaunch)
|
||||||
hshParams.Add("UseGameID", UseGameID)
|
hshParams.Add("UseGameID", UseGameID)
|
||||||
hshParams.Add("DisableSyncMessages", DisableSyncMessages)
|
hshParams.Add("DisableSyncMessages", DisableSyncMessages)
|
||||||
@@ -360,8 +360,8 @@ Public Class mgrSettings
|
|||||||
BackupFolder = CStr(dr("BackupFolder"))
|
BackupFolder = CStr(dr("BackupFolder"))
|
||||||
StartWithWindows = CBool(dr("StartWithWindows"))
|
StartWithWindows = CBool(dr("StartWithWindows"))
|
||||||
TimeTracking = CBool(dr("TimeTracking"))
|
TimeTracking = CBool(dr("TimeTracking"))
|
||||||
SupressBackup = CBool(dr("SupressBackup"))
|
SuppressBackup = CBool(dr("SuppressBackup"))
|
||||||
SupressBackupThreshold = CInt(dr("SupressBackupThreshold"))
|
SuppressBackupThreshold = CInt(dr("SuppressBackupThreshold"))
|
||||||
CompressionLevel = CInt(dr("CompressionLevel"))
|
CompressionLevel = CInt(dr("CompressionLevel"))
|
||||||
If Not IsDBNull(dr("Custom7zArguments")) Then Custom7zArguments = CStr(dr("Custom7zArguments"))
|
If Not IsDBNull(dr("Custom7zArguments")) Then Custom7zArguments = CStr(dr("Custom7zArguments"))
|
||||||
If Not IsDBNull(dr("Custom7zLocation")) Then Custom7zLocation = CStr(dr("Custom7zLocation"))
|
If Not IsDBNull(dr("Custom7zLocation")) Then Custom7zLocation = CStr(dr("Custom7zLocation"))
|
||||||
@@ -370,7 +370,7 @@ Public Class mgrSettings
|
|||||||
AutoRestore = CBool(dr("AutoRestore"))
|
AutoRestore = CBool(dr("AutoRestore"))
|
||||||
AutoMark = CBool(dr("AutoMark"))
|
AutoMark = CBool(dr("AutoMark"))
|
||||||
SessionTracking = CBool(dr("SessionTracking"))
|
SessionTracking = CBool(dr("SessionTracking"))
|
||||||
SupressMessages = CInt(dr("SupressMessages"))
|
SuppressMessages = CInt(dr("SuppressMessages"))
|
||||||
BackupOnLaunch = CBool(dr("BackupOnLaunch"))
|
BackupOnLaunch = CBool(dr("BackupOnLaunch"))
|
||||||
UseGameID = CBool(dr("UseGameID"))
|
UseGameID = CBool(dr("UseGameID"))
|
||||||
DisableSyncMessages = CBool(dr("DisableSyncMessages"))
|
DisableSyncMessages = CBool(dr("DisableSyncMessages"))
|
||||||
@@ -393,11 +393,11 @@ Public Class mgrSettings
|
|||||||
mgrPath.RemoteDatabaseLocation = Me.BackupFolder
|
mgrPath.RemoteDatabaseLocation = Me.BackupFolder
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Public Function SetMessageField(ByVal eMessages As eSupressMessages, ByVal eMessage As eSupressMessages) As eSupressMessages
|
Public Function SetMessageField(ByVal eMessages As eSuppressMessages, ByVal eMessage As eSuppressMessages) As eSuppressMessages
|
||||||
Return eMessages Or eMessage
|
Return eMessages Or eMessage
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Public Function RemoveMessageField(ByVal eMessages As eSupressMessages, ByVal eMessage As eSupressMessages) As eSupressMessages
|
Public Function RemoveMessageField(ByVal eMessages As eSuppressMessages, ByVal eMessage As eSuppressMessages) As eSuppressMessages
|
||||||
Return eMessages And (Not eMessage)
|
Return eMessages And (Not eMessage)
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
|
|||||||
Generated
+2
-2
@@ -4536,9 +4536,9 @@ Namespace My.Resources
|
|||||||
'''<summary>
|
'''<summary>
|
||||||
''' Looks up a localized string similar to Ignore sessions shorter than.
|
''' Looks up a localized string similar to Ignore sessions shorter than.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
Friend ReadOnly Property frmSettings_chkSupressBackup() As String
|
Friend ReadOnly Property frmSettings_chkSuppressBackup() As String
|
||||||
Get
|
Get
|
||||||
Return ResourceManager.GetString("frmSettings_chkSupressBackup", resourceCulture)
|
Return ResourceManager.GetString("frmSettings_chkSuppressBackup", resourceCulture)
|
||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
|||||||
@@ -1078,7 +1078,7 @@
|
|||||||
<data name="frmSettings_chkStartWindows" xml:space="preserve">
|
<data name="frmSettings_chkStartWindows" xml:space="preserve">
|
||||||
<value>Start with Windows</value>
|
<value>Start with Windows</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="frmSettings_chkSupressBackup" xml:space="preserve">
|
<data name="frmSettings_chkSuppressBackup" xml:space="preserve">
|
||||||
<value>Ignore sessions shorter than</value>
|
<value>Ignore sessions shorter than</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="frmSettings_chkTimeTracking" xml:space="preserve">
|
<data name="frmSettings_chkTimeTracking" xml:space="preserve">
|
||||||
|
|||||||
+1
-1
@@ -42,7 +42,7 @@ All Platforms:
|
|||||||
- Added "Backup GBM data files on launch" to the settings. A long overdue feature, this will backup both the remote and local databases (as gbm.s3db.launch.bak) each time GBM starts.
|
- Added "Backup GBM data files on launch" to the settings. A long overdue feature, this will backup both the remote and local databases (as gbm.s3db.launch.bak) each time GBM starts.
|
||||||
- This new setting is enabled by default.
|
- This new setting is enabled by default.
|
||||||
- Only one backup is kept, the prior one will be overwritten.
|
- Only one backup is kept, the prior one will be overwritten.
|
||||||
- Added the ability to display messages or warnings that can be supressed after one view. These messages can be reset via the Settings screen.
|
- Added the ability to display messages or warnings that can be suppressed after one view. These messages can be reset via the Settings screen.
|
||||||
- The "Enable Sync" feature is now mandatory and the option been removed from Settings.
|
- The "Enable Sync" feature is now mandatory and the option been removed from Settings.
|
||||||
- The "Clean Local Manifest" feature has been removed. It is not required because manfiest entries are no longer orphaned by design. Existing orphaned entries will be removed during the v1.1.0 database upgrade.
|
- The "Clean Local Manifest" feature has been removed. It is not required because manfiest entries are no longer orphaned by design. Existing orphaned entries will be removed during the v1.1.0 database upgrade.
|
||||||
- Added "Sync Game IDs" feature. This allows the user to update their game configuration identifiers to match the official list or an export file.
|
- Added "Sync Game IDs" feature. This allows the user to update their game configuration identifiers to match the official list or an export file.
|
||||||
|
|||||||
Reference in New Issue
Block a user