Reverted new Sync settings
This commit is contained in:
Generated
+29
-124
@@ -26,10 +26,10 @@ Partial Class frmSettings
|
|||||||
Me.chkBackupConfirm = New System.Windows.Forms.CheckBox()
|
Me.chkBackupConfirm = New System.Windows.Forms.CheckBox()
|
||||||
Me.grpGeneral = New System.Windows.Forms.GroupBox()
|
Me.grpGeneral = New System.Windows.Forms.GroupBox()
|
||||||
Me.chkTimeTracking = New System.Windows.Forms.CheckBox()
|
Me.chkTimeTracking = New System.Windows.Forms.CheckBox()
|
||||||
|
Me.chkSync = New System.Windows.Forms.CheckBox()
|
||||||
Me.chkStartWindows = New System.Windows.Forms.CheckBox()
|
Me.chkStartWindows = New System.Windows.Forms.CheckBox()
|
||||||
Me.chkShowDetectionTips = New System.Windows.Forms.CheckBox()
|
Me.chkShowDetectionTips = New System.Windows.Forms.CheckBox()
|
||||||
Me.chkStartToTray = New System.Windows.Forms.CheckBox()
|
Me.chkStartToTray = New System.Windows.Forms.CheckBox()
|
||||||
Me.chkSync = New System.Windows.Forms.CheckBox()
|
|
||||||
Me.grpPaths = New System.Windows.Forms.GroupBox()
|
Me.grpPaths = New System.Windows.Forms.GroupBox()
|
||||||
Me.btnBackupFolder = New System.Windows.Forms.Button()
|
Me.btnBackupFolder = New System.Windows.Forms.Button()
|
||||||
Me.lblBackupFolder = New System.Windows.Forms.Label()
|
Me.lblBackupFolder = New System.Windows.Forms.Label()
|
||||||
@@ -54,21 +54,12 @@ Partial Class frmSettings
|
|||||||
Me.lbl7zProduct = New System.Windows.Forms.Label()
|
Me.lbl7zProduct = New System.Windows.Forms.Label()
|
||||||
Me.cboCompression = New System.Windows.Forms.ComboBox()
|
Me.cboCompression = New System.Windows.Forms.ComboBox()
|
||||||
Me.lblCompression = New System.Windows.Forms.Label()
|
Me.lblCompression = New System.Windows.Forms.Label()
|
||||||
Me.grpSync = New System.Windows.Forms.GroupBox()
|
|
||||||
Me.grpSyncData = New System.Windows.Forms.GroupBox()
|
|
||||||
Me.chkSyncTags = New System.Windows.Forms.CheckBox()
|
|
||||||
Me.chkSyncAll = New System.Windows.Forms.CheckBox()
|
|
||||||
Me.chkSyncGameConfigs = New System.Windows.Forms.CheckBox()
|
|
||||||
Me.chkSyncGameInfo = New System.Windows.Forms.CheckBox()
|
|
||||||
Me.chkSyncHours = New System.Windows.Forms.CheckBox()
|
|
||||||
Me.btnDefaults = New System.Windows.Forms.Button()
|
Me.btnDefaults = New System.Windows.Forms.Button()
|
||||||
Me.grpGeneral.SuspendLayout()
|
Me.grpGeneral.SuspendLayout()
|
||||||
Me.grpPaths.SuspendLayout()
|
Me.grpPaths.SuspendLayout()
|
||||||
Me.grpBackup.SuspendLayout()
|
Me.grpBackup.SuspendLayout()
|
||||||
CType(Me.nudSupressBackupThreshold, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.nudSupressBackupThreshold, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
Me.grp7z.SuspendLayout()
|
Me.grp7z.SuspendLayout()
|
||||||
Me.grpSync.SuspendLayout()
|
|
||||||
Me.grpSyncData.SuspendLayout()
|
|
||||||
Me.SuspendLayout()
|
Me.SuspendLayout()
|
||||||
'
|
'
|
||||||
'chkMonitorOnStartup
|
'chkMonitorOnStartup
|
||||||
@@ -94,13 +85,14 @@ Partial Class frmSettings
|
|||||||
'grpGeneral
|
'grpGeneral
|
||||||
'
|
'
|
||||||
Me.grpGeneral.Controls.Add(Me.chkTimeTracking)
|
Me.grpGeneral.Controls.Add(Me.chkTimeTracking)
|
||||||
|
Me.grpGeneral.Controls.Add(Me.chkSync)
|
||||||
Me.grpGeneral.Controls.Add(Me.chkStartWindows)
|
Me.grpGeneral.Controls.Add(Me.chkStartWindows)
|
||||||
Me.grpGeneral.Controls.Add(Me.chkShowDetectionTips)
|
Me.grpGeneral.Controls.Add(Me.chkShowDetectionTips)
|
||||||
Me.grpGeneral.Controls.Add(Me.chkStartToTray)
|
Me.grpGeneral.Controls.Add(Me.chkStartToTray)
|
||||||
Me.grpGeneral.Controls.Add(Me.chkMonitorOnStartup)
|
Me.grpGeneral.Controls.Add(Me.chkMonitorOnStartup)
|
||||||
Me.grpGeneral.Location = New System.Drawing.Point(12, 12)
|
Me.grpGeneral.Location = New System.Drawing.Point(12, 12)
|
||||||
Me.grpGeneral.Name = "grpGeneral"
|
Me.grpGeneral.Name = "grpGeneral"
|
||||||
Me.grpGeneral.Size = New System.Drawing.Size(215, 165)
|
Me.grpGeneral.Size = New System.Drawing.Size(360, 165)
|
||||||
Me.grpGeneral.TabIndex = 0
|
Me.grpGeneral.TabIndex = 0
|
||||||
Me.grpGeneral.TabStop = False
|
Me.grpGeneral.TabStop = False
|
||||||
Me.grpGeneral.Text = "General"
|
Me.grpGeneral.Text = "General"
|
||||||
@@ -115,6 +107,16 @@ Partial Class frmSettings
|
|||||||
Me.chkTimeTracking.Text = "Enable time tracking"
|
Me.chkTimeTracking.Text = "Enable time tracking"
|
||||||
Me.chkTimeTracking.UseVisualStyleBackColor = True
|
Me.chkTimeTracking.UseVisualStyleBackColor = True
|
||||||
'
|
'
|
||||||
|
'chkSync
|
||||||
|
'
|
||||||
|
Me.chkSync.AutoSize = True
|
||||||
|
Me.chkSync.Location = New System.Drawing.Point(6, 134)
|
||||||
|
Me.chkSync.Name = "chkSync"
|
||||||
|
Me.chkSync.Size = New System.Drawing.Size(100, 17)
|
||||||
|
Me.chkSync.TabIndex = 0
|
||||||
|
Me.chkSync.Text = "Enable Syncing"
|
||||||
|
Me.chkSync.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
'chkStartWindows
|
'chkStartWindows
|
||||||
'
|
'
|
||||||
Me.chkStartWindows.AutoSize = True
|
Me.chkStartWindows.AutoSize = True
|
||||||
@@ -145,22 +147,12 @@ Partial Class frmSettings
|
|||||||
Me.chkStartToTray.Text = "Start to system tray"
|
Me.chkStartToTray.Text = "Start to system tray"
|
||||||
Me.chkStartToTray.UseVisualStyleBackColor = True
|
Me.chkStartToTray.UseVisualStyleBackColor = True
|
||||||
'
|
'
|
||||||
'chkSync
|
|
||||||
'
|
|
||||||
Me.chkSync.AutoSize = True
|
|
||||||
Me.chkSync.Location = New System.Drawing.Point(6, 21)
|
|
||||||
Me.chkSync.Name = "chkSync"
|
|
||||||
Me.chkSync.Size = New System.Drawing.Size(100, 17)
|
|
||||||
Me.chkSync.TabIndex = 0
|
|
||||||
Me.chkSync.Text = "Enable Syncing"
|
|
||||||
Me.chkSync.UseVisualStyleBackColor = True
|
|
||||||
'
|
|
||||||
'grpPaths
|
'grpPaths
|
||||||
'
|
'
|
||||||
Me.grpPaths.Controls.Add(Me.btnBackupFolder)
|
Me.grpPaths.Controls.Add(Me.btnBackupFolder)
|
||||||
Me.grpPaths.Controls.Add(Me.lblBackupFolder)
|
Me.grpPaths.Controls.Add(Me.lblBackupFolder)
|
||||||
Me.grpPaths.Controls.Add(Me.txtBackupFolder)
|
Me.grpPaths.Controls.Add(Me.txtBackupFolder)
|
||||||
Me.grpPaths.Location = New System.Drawing.Point(233, 326)
|
Me.grpPaths.Location = New System.Drawing.Point(378, 183)
|
||||||
Me.grpPaths.Name = "grpPaths"
|
Me.grpPaths.Name = "grpPaths"
|
||||||
Me.grpPaths.Size = New System.Drawing.Size(360, 60)
|
Me.grpPaths.Size = New System.Drawing.Size(360, 60)
|
||||||
Me.grpPaths.TabIndex = 3
|
Me.grpPaths.TabIndex = 3
|
||||||
@@ -187,15 +179,15 @@ Partial Class frmSettings
|
|||||||
'
|
'
|
||||||
'txtBackupFolder
|
'txtBackupFolder
|
||||||
'
|
'
|
||||||
Me.txtBackupFolder.Location = New System.Drawing.Point(110, 24)
|
Me.txtBackupFolder.Location = New System.Drawing.Point(91, 24)
|
||||||
Me.txtBackupFolder.Name = "txtBackupFolder"
|
Me.txtBackupFolder.Name = "txtBackupFolder"
|
||||||
Me.txtBackupFolder.Size = New System.Drawing.Size(211, 20)
|
Me.txtBackupFolder.Size = New System.Drawing.Size(230, 20)
|
||||||
Me.txtBackupFolder.TabIndex = 1
|
Me.txtBackupFolder.TabIndex = 1
|
||||||
'
|
'
|
||||||
'btnSave
|
'btnSave
|
||||||
'
|
'
|
||||||
Me.btnSave.DialogResult = System.Windows.Forms.DialogResult.OK
|
Me.btnSave.DialogResult = System.Windows.Forms.DialogResult.OK
|
||||||
Me.btnSave.Location = New System.Drawing.Point(437, 392)
|
Me.btnSave.Location = New System.Drawing.Point(586, 305)
|
||||||
Me.btnSave.Name = "btnSave"
|
Me.btnSave.Name = "btnSave"
|
||||||
Me.btnSave.Size = New System.Drawing.Size(75, 23)
|
Me.btnSave.Size = New System.Drawing.Size(75, 23)
|
||||||
Me.btnSave.TabIndex = 5
|
Me.btnSave.TabIndex = 5
|
||||||
@@ -205,7 +197,7 @@ Partial Class frmSettings
|
|||||||
'btnCancel
|
'btnCancel
|
||||||
'
|
'
|
||||||
Me.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel
|
Me.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel
|
||||||
Me.btnCancel.Location = New System.Drawing.Point(518, 392)
|
Me.btnCancel.Location = New System.Drawing.Point(667, 305)
|
||||||
Me.btnCancel.Name = "btnCancel"
|
Me.btnCancel.Name = "btnCancel"
|
||||||
Me.btnCancel.Size = New System.Drawing.Size(75, 23)
|
Me.btnCancel.Size = New System.Drawing.Size(75, 23)
|
||||||
Me.btnCancel.TabIndex = 6
|
Me.btnCancel.TabIndex = 6
|
||||||
@@ -222,7 +214,7 @@ Partial Class frmSettings
|
|||||||
Me.grpBackup.Controls.Add(Me.chkOverwriteWarning)
|
Me.grpBackup.Controls.Add(Me.chkOverwriteWarning)
|
||||||
Me.grpBackup.Controls.Add(Me.chkCreateFolder)
|
Me.grpBackup.Controls.Add(Me.chkCreateFolder)
|
||||||
Me.grpBackup.Controls.Add(Me.chkBackupConfirm)
|
Me.grpBackup.Controls.Add(Me.chkBackupConfirm)
|
||||||
Me.grpBackup.Location = New System.Drawing.Point(233, 12)
|
Me.grpBackup.Location = New System.Drawing.Point(378, 12)
|
||||||
Me.grpBackup.Name = "grpBackup"
|
Me.grpBackup.Name = "grpBackup"
|
||||||
Me.grpBackup.Size = New System.Drawing.Size(360, 165)
|
Me.grpBackup.Size = New System.Drawing.Size(360, 165)
|
||||||
Me.grpBackup.TabIndex = 2
|
Me.grpBackup.TabIndex = 2
|
||||||
@@ -303,13 +295,11 @@ Partial Class frmSettings
|
|||||||
Me.grp7z.Controls.Add(Me.lblLocation)
|
Me.grp7z.Controls.Add(Me.lblLocation)
|
||||||
Me.grp7z.Controls.Add(Me.txt7zArguments)
|
Me.grp7z.Controls.Add(Me.txt7zArguments)
|
||||||
Me.grp7z.Controls.Add(Me.lblArguments)
|
Me.grp7z.Controls.Add(Me.lblArguments)
|
||||||
Me.grp7z.Controls.Add(Me.lbl7zCopyright)
|
|
||||||
Me.grp7z.Controls.Add(Me.lbl7zProduct)
|
|
||||||
Me.grp7z.Controls.Add(Me.cboCompression)
|
Me.grp7z.Controls.Add(Me.cboCompression)
|
||||||
Me.grp7z.Controls.Add(Me.lblCompression)
|
Me.grp7z.Controls.Add(Me.lblCompression)
|
||||||
Me.grp7z.Location = New System.Drawing.Point(233, 183)
|
Me.grp7z.Location = New System.Drawing.Point(12, 183)
|
||||||
Me.grp7z.Name = "grp7z"
|
Me.grp7z.Name = "grp7z"
|
||||||
Me.grp7z.Size = New System.Drawing.Size(360, 137)
|
Me.grp7z.Size = New System.Drawing.Size(360, 102)
|
||||||
Me.grp7z.TabIndex = 3
|
Me.grp7z.TabIndex = 3
|
||||||
Me.grp7z.TabStop = False
|
Me.grp7z.TabStop = False
|
||||||
Me.grp7z.Text = "7z Options"
|
Me.grp7z.Text = "7z Options"
|
||||||
@@ -357,17 +347,17 @@ Partial Class frmSettings
|
|||||||
'
|
'
|
||||||
'lbl7zCopyright
|
'lbl7zCopyright
|
||||||
'
|
'
|
||||||
Me.lbl7zCopyright.Location = New System.Drawing.Point(9, 114)
|
Me.lbl7zCopyright.Location = New System.Drawing.Point(375, 265)
|
||||||
Me.lbl7zCopyright.Name = "lbl7zCopyright"
|
Me.lbl7zCopyright.Name = "lbl7zCopyright"
|
||||||
Me.lbl7zCopyright.Size = New System.Drawing.Size(345, 20)
|
Me.lbl7zCopyright.Size = New System.Drawing.Size(363, 20)
|
||||||
Me.lbl7zCopyright.TabIndex = 8
|
Me.lbl7zCopyright.TabIndex = 8
|
||||||
Me.lbl7zCopyright.TextAlign = System.Drawing.ContentAlignment.TopRight
|
Me.lbl7zCopyright.TextAlign = System.Drawing.ContentAlignment.TopRight
|
||||||
'
|
'
|
||||||
'lbl7zProduct
|
'lbl7zProduct
|
||||||
'
|
'
|
||||||
Me.lbl7zProduct.Location = New System.Drawing.Point(9, 97)
|
Me.lbl7zProduct.Location = New System.Drawing.Point(375, 246)
|
||||||
Me.lbl7zProduct.Name = "lbl7zProduct"
|
Me.lbl7zProduct.Name = "lbl7zProduct"
|
||||||
Me.lbl7zProduct.Size = New System.Drawing.Size(345, 20)
|
Me.lbl7zProduct.Size = New System.Drawing.Size(363, 20)
|
||||||
Me.lbl7zProduct.TabIndex = 7
|
Me.lbl7zProduct.TabIndex = 7
|
||||||
Me.lbl7zProduct.TextAlign = System.Drawing.ContentAlignment.TopRight
|
Me.lbl7zProduct.TextAlign = System.Drawing.ContentAlignment.TopRight
|
||||||
'
|
'
|
||||||
@@ -389,84 +379,9 @@ Partial Class frmSettings
|
|||||||
Me.lblCompression.TabIndex = 0
|
Me.lblCompression.TabIndex = 0
|
||||||
Me.lblCompression.Text = "Compression:"
|
Me.lblCompression.Text = "Compression:"
|
||||||
'
|
'
|
||||||
'grpSync
|
|
||||||
'
|
|
||||||
Me.grpSync.Controls.Add(Me.grpSyncData)
|
|
||||||
Me.grpSync.Controls.Add(Me.chkSync)
|
|
||||||
Me.grpSync.Location = New System.Drawing.Point(12, 183)
|
|
||||||
Me.grpSync.Name = "grpSync"
|
|
||||||
Me.grpSync.Size = New System.Drawing.Size(215, 203)
|
|
||||||
Me.grpSync.TabIndex = 1
|
|
||||||
Me.grpSync.TabStop = False
|
|
||||||
Me.grpSync.Text = "Sync Options"
|
|
||||||
'
|
|
||||||
'grpSyncData
|
|
||||||
'
|
|
||||||
Me.grpSyncData.Controls.Add(Me.chkSyncTags)
|
|
||||||
Me.grpSyncData.Controls.Add(Me.chkSyncAll)
|
|
||||||
Me.grpSyncData.Controls.Add(Me.chkSyncGameConfigs)
|
|
||||||
Me.grpSyncData.Controls.Add(Me.chkSyncGameInfo)
|
|
||||||
Me.grpSyncData.Controls.Add(Me.chkSyncHours)
|
|
||||||
Me.grpSyncData.Location = New System.Drawing.Point(6, 47)
|
|
||||||
Me.grpSyncData.Name = "grpSyncData"
|
|
||||||
Me.grpSyncData.Size = New System.Drawing.Size(194, 140)
|
|
||||||
Me.grpSyncData.TabIndex = 1
|
|
||||||
Me.grpSyncData.TabStop = False
|
|
||||||
Me.grpSyncData.Text = "Sync Data"
|
|
||||||
'
|
|
||||||
'chkSyncTags
|
|
||||||
'
|
|
||||||
Me.chkSyncTags.AutoSize = True
|
|
||||||
Me.chkSyncTags.Location = New System.Drawing.Point(6, 88)
|
|
||||||
Me.chkSyncTags.Name = "chkSyncTags"
|
|
||||||
Me.chkSyncTags.Size = New System.Drawing.Size(50, 17)
|
|
||||||
Me.chkSyncTags.TabIndex = 3
|
|
||||||
Me.chkSyncTags.Text = "Tags"
|
|
||||||
Me.chkSyncTags.UseVisualStyleBackColor = True
|
|
||||||
'
|
|
||||||
'chkSyncAll
|
|
||||||
'
|
|
||||||
Me.chkSyncAll.AutoSize = True
|
|
||||||
Me.chkSyncAll.Location = New System.Drawing.Point(6, 111)
|
|
||||||
Me.chkSyncAll.Name = "chkSyncAll"
|
|
||||||
Me.chkSyncAll.Size = New System.Drawing.Size(164, 17)
|
|
||||||
Me.chkSyncAll.TabIndex = 4
|
|
||||||
Me.chkSyncAll.Text = "All Data (Not Recommended)"
|
|
||||||
Me.chkSyncAll.UseVisualStyleBackColor = True
|
|
||||||
'
|
|
||||||
'chkSyncGameConfigs
|
|
||||||
'
|
|
||||||
Me.chkSyncGameConfigs.AutoSize = True
|
|
||||||
Me.chkSyncGameConfigs.Location = New System.Drawing.Point(6, 19)
|
|
||||||
Me.chkSyncGameConfigs.Name = "chkSyncGameConfigs"
|
|
||||||
Me.chkSyncGameConfigs.Size = New System.Drawing.Size(124, 17)
|
|
||||||
Me.chkSyncGameConfigs.TabIndex = 0
|
|
||||||
Me.chkSyncGameConfigs.Text = "Game Configurations"
|
|
||||||
Me.chkSyncGameConfigs.UseVisualStyleBackColor = True
|
|
||||||
'
|
|
||||||
'chkSyncGameInfo
|
|
||||||
'
|
|
||||||
Me.chkSyncGameInfo.AutoSize = True
|
|
||||||
Me.chkSyncGameInfo.Location = New System.Drawing.Point(6, 42)
|
|
||||||
Me.chkSyncGameInfo.Name = "chkSyncGameInfo"
|
|
||||||
Me.chkSyncGameInfo.Size = New System.Drawing.Size(109, 17)
|
|
||||||
Me.chkSyncGameInfo.TabIndex = 1
|
|
||||||
Me.chkSyncGameInfo.Text = "Game Information"
|
|
||||||
Me.chkSyncGameInfo.UseVisualStyleBackColor = True
|
|
||||||
'
|
|
||||||
'chkSyncHours
|
|
||||||
'
|
|
||||||
Me.chkSyncHours.AutoSize = True
|
|
||||||
Me.chkSyncHours.Location = New System.Drawing.Point(6, 65)
|
|
||||||
Me.chkSyncHours.Name = "chkSyncHours"
|
|
||||||
Me.chkSyncHours.Size = New System.Drawing.Size(80, 17)
|
|
||||||
Me.chkSyncHours.TabIndex = 2
|
|
||||||
Me.chkSyncHours.Text = "Game Time"
|
|
||||||
Me.chkSyncHours.UseVisualStyleBackColor = True
|
|
||||||
'
|
|
||||||
'btnDefaults
|
'btnDefaults
|
||||||
'
|
'
|
||||||
Me.btnDefaults.Location = New System.Drawing.Point(12, 392)
|
Me.btnDefaults.Location = New System.Drawing.Point(12, 305)
|
||||||
Me.btnDefaults.Name = "btnDefaults"
|
Me.btnDefaults.Name = "btnDefaults"
|
||||||
Me.btnDefaults.Size = New System.Drawing.Size(110, 23)
|
Me.btnDefaults.Size = New System.Drawing.Size(110, 23)
|
||||||
Me.btnDefaults.TabIndex = 4
|
Me.btnDefaults.TabIndex = 4
|
||||||
@@ -477,14 +392,15 @@ Partial Class frmSettings
|
|||||||
'
|
'
|
||||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||||
Me.ClientSize = New System.Drawing.Size(604, 426)
|
Me.ClientSize = New System.Drawing.Size(749, 336)
|
||||||
Me.Controls.Add(Me.grpSync)
|
|
||||||
Me.Controls.Add(Me.btnDefaults)
|
Me.Controls.Add(Me.btnDefaults)
|
||||||
Me.Controls.Add(Me.grp7z)
|
Me.Controls.Add(Me.grp7z)
|
||||||
Me.Controls.Add(Me.grpBackup)
|
Me.Controls.Add(Me.grpBackup)
|
||||||
Me.Controls.Add(Me.grpPaths)
|
Me.Controls.Add(Me.grpPaths)
|
||||||
Me.Controls.Add(Me.btnCancel)
|
Me.Controls.Add(Me.btnCancel)
|
||||||
|
Me.Controls.Add(Me.lbl7zCopyright)
|
||||||
Me.Controls.Add(Me.btnSave)
|
Me.Controls.Add(Me.btnSave)
|
||||||
|
Me.Controls.Add(Me.lbl7zProduct)
|
||||||
Me.Controls.Add(Me.grpGeneral)
|
Me.Controls.Add(Me.grpGeneral)
|
||||||
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle
|
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle
|
||||||
Me.MaximizeBox = False
|
Me.MaximizeBox = False
|
||||||
@@ -503,10 +419,6 @@ Partial Class frmSettings
|
|||||||
CType(Me.nudSupressBackupThreshold, System.ComponentModel.ISupportInitialize).EndInit()
|
CType(Me.nudSupressBackupThreshold, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
Me.grp7z.ResumeLayout(False)
|
Me.grp7z.ResumeLayout(False)
|
||||||
Me.grp7z.PerformLayout()
|
Me.grp7z.PerformLayout()
|
||||||
Me.grpSync.ResumeLayout(False)
|
|
||||||
Me.grpSync.PerformLayout()
|
|
||||||
Me.grpSyncData.ResumeLayout(False)
|
|
||||||
Me.grpSyncData.PerformLayout()
|
|
||||||
Me.ResumeLayout(False)
|
Me.ResumeLayout(False)
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
@@ -537,17 +449,10 @@ Partial Class frmSettings
|
|||||||
Friend WithEvents lblCompression As Label
|
Friend WithEvents lblCompression As Label
|
||||||
Friend WithEvents lbl7zProduct As Label
|
Friend WithEvents lbl7zProduct As Label
|
||||||
Friend WithEvents lbl7zCopyright As Label
|
Friend WithEvents lbl7zCopyright As Label
|
||||||
Friend WithEvents grpSync As GroupBox
|
|
||||||
Friend WithEvents chkSyncGameConfigs As CheckBox
|
|
||||||
Friend WithEvents btn7zLocation As Button
|
Friend WithEvents btn7zLocation As Button
|
||||||
Friend WithEvents txt7zLocation As TextBox
|
Friend WithEvents txt7zLocation As TextBox
|
||||||
Friend WithEvents lblLocation As Label
|
Friend WithEvents lblLocation As Label
|
||||||
Friend WithEvents txt7zArguments As TextBox
|
Friend WithEvents txt7zArguments As TextBox
|
||||||
Friend WithEvents lblArguments As Label
|
Friend WithEvents lblArguments As Label
|
||||||
Friend WithEvents chkSyncHours As CheckBox
|
|
||||||
Friend WithEvents chkSyncGameInfo As CheckBox
|
|
||||||
Friend WithEvents btnDefaults As Button
|
Friend WithEvents btnDefaults As Button
|
||||||
Friend WithEvents grpSyncData As GroupBox
|
|
||||||
Friend WithEvents chkSyncAll As CheckBox
|
|
||||||
Friend WithEvents chkSyncTags As CheckBox
|
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -41,30 +41,6 @@ Public Class frmSettings
|
|||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub HandleSyncState()
|
|
||||||
If chkSync.Checked Then
|
|
||||||
grpSyncData.Enabled = True
|
|
||||||
Else
|
|
||||||
grpSyncData.Enabled = False
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub HandleSyncAllDataState()
|
|
||||||
If chkSyncAll.Checked Then
|
|
||||||
For Each chk As CheckBox In grpSyncData.Controls
|
|
||||||
If Not chk Is chkSyncAll Then
|
|
||||||
chk.Enabled = False
|
|
||||||
End If
|
|
||||||
Next
|
|
||||||
Else
|
|
||||||
For Each chk As CheckBox In grpSyncData.Controls
|
|
||||||
If Not chk Is chkSyncAll Then
|
|
||||||
chk.Enabled = True
|
|
||||||
End If
|
|
||||||
Next
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Function ValidateSettings() As Boolean
|
Private Function ValidateSettings() As Boolean
|
||||||
|
|
||||||
'Only modify registry key when the value changed
|
'Only modify registry key when the value changed
|
||||||
@@ -103,11 +79,6 @@ Public Class frmSettings
|
|||||||
bBackupLocationChanged = True
|
bBackupLocationChanged = True
|
||||||
End If
|
End If
|
||||||
oSettings.Sync = chkSync.Checked
|
oSettings.Sync = chkSync.Checked
|
||||||
oSettings.SyncGameConfigs = chkSyncGameConfigs.Checked
|
|
||||||
oSettings.SyncGameInfo = chkSyncGameInfo.Checked
|
|
||||||
oSettings.SyncHours = chkSyncHours.Checked
|
|
||||||
oSettings.SyncTags = chkSyncTags.Checked
|
|
||||||
oSettings.SyncAll = chkSyncAll.Checked
|
|
||||||
|
|
||||||
If Directory.Exists(txtBackupFolder.Text) Then
|
If Directory.Exists(txtBackupFolder.Text) Then
|
||||||
If oSettings.BackupFolder <> txtBackupFolder.Text Then
|
If oSettings.BackupFolder <> txtBackupFolder.Text Then
|
||||||
@@ -179,11 +150,6 @@ Public Class frmSettings
|
|||||||
chkRestoreOnLaunch.Checked = oSettings.RestoreOnLaunch
|
chkRestoreOnLaunch.Checked = oSettings.RestoreOnLaunch
|
||||||
txtBackupFolder.Text = oSettings.BackupFolder
|
txtBackupFolder.Text = oSettings.BackupFolder
|
||||||
chkSync.Checked = oSettings.Sync
|
chkSync.Checked = oSettings.Sync
|
||||||
chkSyncGameConfigs.Checked = oSettings.SyncGameConfigs
|
|
||||||
chkSyncGameInfo.Checked = oSettings.SyncGameInfo
|
|
||||||
chkSyncHours.Checked = oSettings.SyncHours
|
|
||||||
chkSyncTags.Checked = oSettings.SyncTags
|
|
||||||
chkSyncAll.Checked = oSettings.SyncAll
|
|
||||||
chkCheckSum.Checked = oSettings.CheckSum
|
chkCheckSum.Checked = oSettings.CheckSum
|
||||||
chkTimeTracking.Checked = oSettings.TimeTracking
|
chkTimeTracking.Checked = oSettings.TimeTracking
|
||||||
chkSupressBackup.Checked = oSettings.SupressBackup
|
chkSupressBackup.Checked = oSettings.SupressBackup
|
||||||
@@ -247,13 +213,6 @@ Public Class frmSettings
|
|||||||
chkMonitorOnStartup.Text = frmSettings_chkMonitorOnStartup
|
chkMonitorOnStartup.Text = frmSettings_chkMonitorOnStartup
|
||||||
grp7z.Text = frmSettings_grp7z
|
grp7z.Text = frmSettings_grp7z
|
||||||
lblCompression.Text = frmSettings_lblCompression
|
lblCompression.Text = frmSettings_lblCompression
|
||||||
grpSync.Text = frmSettings_grpSync
|
|
||||||
grpSyncData.Text = frmSettings_grpSyncOptions
|
|
||||||
chkSyncGameConfigs.Text = frmSettings_chkSyncGameConfigs
|
|
||||||
chkSyncGameInfo.Text = frmSettings_chkSyncGameInfo
|
|
||||||
chkSyncHours.Text = frmSettings_chkSyncHours
|
|
||||||
chkSyncTags.Text = frmSettings_chkSyncTags
|
|
||||||
chkSyncAll.Text = frmSettings_chkSyncAll
|
|
||||||
btnDefaults.Text = frmSettings_btnDefaults
|
btnDefaults.Text = frmSettings_btnDefaults
|
||||||
lblArguments.Text = frmSettings_lblArguments
|
lblArguments.Text = frmSettings_lblArguments
|
||||||
lblLocation.Text = frmSettings_lblLocation
|
lblLocation.Text = frmSettings_lblLocation
|
||||||
@@ -308,14 +267,6 @@ Public Class frmSettings
|
|||||||
nudSupressBackupThreshold.Enabled = chkSupressBackup.Checked
|
nudSupressBackupThreshold.Enabled = chkSupressBackup.Checked
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub chkSync_CheckedChanged(sender As Object, e As EventArgs) Handles chkSync.CheckedChanged
|
|
||||||
HandleSyncState()
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub chkSyncAllData_CheckedChanged(sender As Object, e As EventArgs) Handles chkSyncAll.CheckedChanged
|
|
||||||
HandleSyncAllDataState()
|
|
||||||
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
|
||||||
Get7zInfo(txt7zLocation.Text.Trim)
|
Get7zInfo(txt7zLocation.Text.Trim)
|
||||||
End Sub
|
End Sub
|
||||||
|
|||||||
@@ -74,8 +74,7 @@ Public Class mgrSQLite
|
|||||||
"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, Sync BOOLEAN NOT NULL, CheckSum BOOLEAN NOT NULL, StartWithWindows BOOLEAN NOT NULL, TimeTracking BOOLEAN NOT NULL, " &
|
"BackupFolder TEXT NOT NULL, Sync BOOLEAN NOT NULL, CheckSum BOOLEAN NOT NULL, StartWithWindows BOOLEAN NOT NULL, TimeTracking BOOLEAN NOT NULL, " &
|
||||||
"SupressBackup BOOLEAN NOT NULL, SupressBackupThreshold INTEGER NOT NULL, CompressionLevel INTEGER NOT NULL, Custom7zArguments TEXT, " &
|
"SupressBackup BOOLEAN NOT NULL, SupressBackupThreshold INTEGER NOT NULL, CompressionLevel INTEGER NOT NULL, Custom7zArguments TEXT, " &
|
||||||
"Custom7zLocation TEXT, SyncGameConfigs BOOLEAN NOT NULL, SyncGameInfo BOOLEAN NOT NULL, SyncHours BOOLEAN NOT NULL, SyncTags BOOLEAN NOT NULL, " &
|
"Custom7zLocation TEXT);"
|
||||||
"SyncAll BOOLEAN NOT NULL);"
|
|
||||||
|
|
||||||
'Add Tables (Monitor List)
|
'Add Tables (Monitor List)
|
||||||
sSql &= "CREATE TABLE monitorlist (MonitorID TEXT NOT NULL UNIQUE, Name TEXT NOT NULL, Process TEXT NOT NULL, Path TEXT, " &
|
sSql &= "CREATE TABLE monitorlist (MonitorID TEXT NOT NULL UNIQUE, Name TEXT NOT NULL, Process TEXT NOT NULL, Path TEXT, " &
|
||||||
|
|||||||
@@ -10,11 +10,6 @@ Public Class mgrSettings
|
|||||||
Private bShowOverwriteWarning As Boolean = True
|
Private bShowOverwriteWarning As Boolean = True
|
||||||
Private bRestoreOnLaunch As Boolean = False
|
Private bRestoreOnLaunch As Boolean = False
|
||||||
Private bSync As Boolean = True
|
Private bSync As Boolean = True
|
||||||
Private bSyncGameConfigs As Boolean = True
|
|
||||||
Private bSyncGameInfo As Boolean = False
|
|
||||||
Private bSyncHours As Boolean = True
|
|
||||||
Private bSyncTags As Boolean = True
|
|
||||||
Private bSyncAll As Boolean = False
|
|
||||||
Private bCheckSum As Boolean = True
|
Private bCheckSum As Boolean = True
|
||||||
Private bTimeTracking As Boolean = True
|
Private bTimeTracking As Boolean = True
|
||||||
Private bSupressBackup As Boolean = False
|
Private bSupressBackup As Boolean = False
|
||||||
@@ -105,51 +100,6 @@ Public Class mgrSettings
|
|||||||
End Set
|
End Set
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
Property SyncGameConfigs As Boolean
|
|
||||||
Get
|
|
||||||
Return bSyncGameConfigs
|
|
||||||
End Get
|
|
||||||
Set(value As Boolean)
|
|
||||||
bSyncGameConfigs = value
|
|
||||||
End Set
|
|
||||||
End Property
|
|
||||||
|
|
||||||
Property SyncGameInfo As Boolean
|
|
||||||
Get
|
|
||||||
Return bSyncGameInfo
|
|
||||||
End Get
|
|
||||||
Set(value As Boolean)
|
|
||||||
bSyncGameInfo = value
|
|
||||||
End Set
|
|
||||||
End Property
|
|
||||||
|
|
||||||
Property SyncHours As Boolean
|
|
||||||
Get
|
|
||||||
Return bSyncHours
|
|
||||||
End Get
|
|
||||||
Set(value As Boolean)
|
|
||||||
bSyncHours = value
|
|
||||||
End Set
|
|
||||||
End Property
|
|
||||||
|
|
||||||
Property SyncTags As Boolean
|
|
||||||
Get
|
|
||||||
Return bSyncTags
|
|
||||||
End Get
|
|
||||||
Set(value As Boolean)
|
|
||||||
bSyncTags = value
|
|
||||||
End Set
|
|
||||||
End Property
|
|
||||||
|
|
||||||
Property SyncAll As Boolean
|
|
||||||
Get
|
|
||||||
Return bSyncAll
|
|
||||||
End Get
|
|
||||||
Set(value As Boolean)
|
|
||||||
bSyncAll = value
|
|
||||||
End Set
|
|
||||||
End Property
|
|
||||||
|
|
||||||
Property CheckSum As Boolean
|
Property CheckSum As Boolean
|
||||||
Get
|
Get
|
||||||
Return bCheckSum
|
Return bCheckSum
|
||||||
@@ -263,8 +213,7 @@ Public Class mgrSettings
|
|||||||
|
|
||||||
sSQL = "INSERT INTO settings VALUES (1, @MonitorOnStartup, @StartToTray, @ShowDetectionToolTips, @DisableConfirmation, "
|
sSQL = "INSERT INTO settings VALUES (1, @MonitorOnStartup, @StartToTray, @ShowDetectionToolTips, @DisableConfirmation, "
|
||||||
sSQL &= "@CreateSubFolder, @ShowOverwriteWarning, @RestoreOnLaunch, @BackupFolder, @Sync, @CheckSum, @StartWithWindows, "
|
sSQL &= "@CreateSubFolder, @ShowOverwriteWarning, @RestoreOnLaunch, @BackupFolder, @Sync, @CheckSum, @StartWithWindows, "
|
||||||
sSQL &= "@TimeTracking, @SupressBackup, @SupressBackupThreshold, @CompressionLevel, @Custom7zArguments, @Custom7zLocation, "
|
sSQL &= "@TimeTracking, @SupressBackup, @SupressBackupThreshold, @CompressionLevel, @Custom7zArguments, @Custom7zLocation)"
|
||||||
sSQL &= "@SyncGameConfigs, @SyncGameInfo, @SyncHours, @SyncTags, @SyncAll)"
|
|
||||||
|
|
||||||
hshParams.Add("MonitorOnStartup", MonitorOnStartup)
|
hshParams.Add("MonitorOnStartup", MonitorOnStartup)
|
||||||
hshParams.Add("StartToTray", StartToTray)
|
hshParams.Add("StartToTray", StartToTray)
|
||||||
@@ -283,11 +232,6 @@ Public Class mgrSettings
|
|||||||
hshParams.Add("CompressionLevel", CompressionLevel)
|
hshParams.Add("CompressionLevel", CompressionLevel)
|
||||||
hshParams.Add("Custom7zArguments", Custom7zArguments)
|
hshParams.Add("Custom7zArguments", Custom7zArguments)
|
||||||
hshParams.Add("Custom7zLocation", Custom7zLocation)
|
hshParams.Add("Custom7zLocation", Custom7zLocation)
|
||||||
hshParams.Add("SyncGameConfigs", SyncGameConfigs)
|
|
||||||
hshParams.Add("SyncGameInfo", SyncGameInfo)
|
|
||||||
hshParams.Add("SyncHours", SyncHours)
|
|
||||||
hshParams.Add("SyncTags", SyncTags)
|
|
||||||
hshParams.Add("SyncAll", SyncAll)
|
|
||||||
|
|
||||||
oDatabase.RunParamQuery(sSQL, hshParams)
|
oDatabase.RunParamQuery(sSQL, hshParams)
|
||||||
End Sub
|
End Sub
|
||||||
@@ -320,11 +264,6 @@ Public Class mgrSettings
|
|||||||
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"))
|
||||||
SyncGameConfigs = CBool(dr("SyncGameConfigs"))
|
|
||||||
SyncGameInfo = CBool(dr("SyncGameInfo"))
|
|
||||||
SyncHours = CBool(dr("SyncHours"))
|
|
||||||
SyncTags = CBool(dr("SyncTags"))
|
|
||||||
SyncAll = CBool(dr("SyncAll"))
|
|
||||||
Next
|
Next
|
||||||
|
|
||||||
oDatabase.Disconnect()
|
oDatabase.Disconnect()
|
||||||
|
|||||||
Generated
-63
@@ -3282,51 +3282,6 @@ Namespace My.Resources
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
|
||||||
''' Looks up a localized string similar to All Data (Not Recommended).
|
|
||||||
'''</summary>
|
|
||||||
Friend ReadOnly Property frmSettings_chkSyncAll() As String
|
|
||||||
Get
|
|
||||||
Return ResourceManager.GetString("frmSettings_chkSyncAll", resourceCulture)
|
|
||||||
End Get
|
|
||||||
End Property
|
|
||||||
|
|
||||||
'''<summary>
|
|
||||||
''' Looks up a localized string similar to Game Configurations.
|
|
||||||
'''</summary>
|
|
||||||
Friend ReadOnly Property frmSettings_chkSyncGameConfigs() As String
|
|
||||||
Get
|
|
||||||
Return ResourceManager.GetString("frmSettings_chkSyncGameConfigs", resourceCulture)
|
|
||||||
End Get
|
|
||||||
End Property
|
|
||||||
|
|
||||||
'''<summary>
|
|
||||||
''' Looks up a localized string similar to Game Information.
|
|
||||||
'''</summary>
|
|
||||||
Friend ReadOnly Property frmSettings_chkSyncGameInfo() As String
|
|
||||||
Get
|
|
||||||
Return ResourceManager.GetString("frmSettings_chkSyncGameInfo", resourceCulture)
|
|
||||||
End Get
|
|
||||||
End Property
|
|
||||||
|
|
||||||
'''<summary>
|
|
||||||
''' Looks up a localized string similar to Game Time.
|
|
||||||
'''</summary>
|
|
||||||
Friend ReadOnly Property frmSettings_chkSyncHours() As String
|
|
||||||
Get
|
|
||||||
Return ResourceManager.GetString("frmSettings_chkSyncHours", resourceCulture)
|
|
||||||
End Get
|
|
||||||
End Property
|
|
||||||
|
|
||||||
'''<summary>
|
|
||||||
''' Looks up a localized string similar to Tags.
|
|
||||||
'''</summary>
|
|
||||||
Friend ReadOnly Property frmSettings_chkSyncTags() As String
|
|
||||||
Get
|
|
||||||
Return ResourceManager.GetString("frmSettings_chkSyncTags", resourceCulture)
|
|
||||||
End Get
|
|
||||||
End Property
|
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Looks up a localized string similar to Enable time tracking.
|
''' Looks up a localized string similar to Enable time tracking.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
@@ -3417,24 +3372,6 @@ Namespace My.Resources
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
|
||||||
''' Looks up a localized string similar to Sync Options.
|
|
||||||
'''</summary>
|
|
||||||
Friend ReadOnly Property frmSettings_grpSync() As String
|
|
||||||
Get
|
|
||||||
Return ResourceManager.GetString("frmSettings_grpSync", resourceCulture)
|
|
||||||
End Get
|
|
||||||
End Property
|
|
||||||
|
|
||||||
'''<summary>
|
|
||||||
''' Looks up a localized string similar to Sync Data.
|
|
||||||
'''</summary>
|
|
||||||
Friend ReadOnly Property frmSettings_grpSyncOptions() As String
|
|
||||||
Get
|
|
||||||
Return ResourceManager.GetString("frmSettings_grpSyncOptions", resourceCulture)
|
|
||||||
End Get
|
|
||||||
End Property
|
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Looks up a localized string similar to Custom Arguments:.
|
''' Looks up a localized string similar to Custom Arguments:.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
|
|||||||
@@ -1600,30 +1600,9 @@
|
|||||||
<data name="frmSettings_btnDefaults" xml:space="preserve">
|
<data name="frmSettings_btnDefaults" xml:space="preserve">
|
||||||
<value>Set &Defaults</value>
|
<value>Set &Defaults</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="frmSettings_chkSyncAll" xml:space="preserve">
|
|
||||||
<value>All Data (Not Recommended)</value>
|
|
||||||
</data>
|
|
||||||
<data name="frmSettings_chkSyncGameConfigs" xml:space="preserve">
|
|
||||||
<value>Game Configurations</value>
|
|
||||||
</data>
|
|
||||||
<data name="frmSettings_chkSyncGameInfo" xml:space="preserve">
|
|
||||||
<value>Game Information</value>
|
|
||||||
</data>
|
|
||||||
<data name="frmSettings_chkSyncHours" xml:space="preserve">
|
|
||||||
<value>Game Time</value>
|
|
||||||
</data>
|
|
||||||
<data name="frmSettings_chkSyncTags" xml:space="preserve">
|
|
||||||
<value>Tags</value>
|
|
||||||
</data>
|
|
||||||
<data name="frmSettings_Error7zInfo" xml:space="preserve">
|
<data name="frmSettings_Error7zInfo" xml:space="preserve">
|
||||||
<value>Unable to retrieve 7z product information!</value>
|
<value>Unable to retrieve 7z product information!</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="frmSettings_grpSync" xml:space="preserve">
|
|
||||||
<value>Sync Options</value>
|
|
||||||
</data>
|
|
||||||
<data name="frmSettings_grpSyncOptions" xml:space="preserve">
|
|
||||||
<value>Sync Data</value>
|
|
||||||
</data>
|
|
||||||
<data name="frmSettings_lblArguments" xml:space="preserve">
|
<data name="frmSettings_lblArguments" xml:space="preserve">
|
||||||
<value>Custom Arguments:</value>
|
<value>Custom Arguments:</value>
|
||||||
</data>
|
</data>
|
||||||
|
|||||||
Reference in New Issue
Block a user