Minor settings UI changes

This commit is contained in:
Michael J. Seiferling
2016-06-11 18:12:30 -06:00
parent 896c77fe11
commit b68646c97e
4 changed files with 39 additions and 66 deletions
+33 -47
View File
@@ -32,14 +32,13 @@ Partial Class frmSettings
Me.chkTimeTracking = New System.Windows.Forms.CheckBox() Me.chkTimeTracking = New System.Windows.Forms.CheckBox()
Me.chkSync = New System.Windows.Forms.CheckBox() Me.chkSync = New System.Windows.Forms.CheckBox()
Me.chkShowDetectionTips = New System.Windows.Forms.CheckBox() Me.chkShowDetectionTips = New System.Windows.Forms.CheckBox()
Me.grpPaths = New System.Windows.Forms.GroupBox() Me.grpFolderOptions = 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()
Me.txtBackupFolder = New System.Windows.Forms.TextBox() Me.txtBackupFolder = New System.Windows.Forms.TextBox()
Me.chkCreateFolder = New System.Windows.Forms.CheckBox() Me.chkCreateFolder = New System.Windows.Forms.CheckBox()
Me.btnSave = New System.Windows.Forms.Button() Me.btnSave = New System.Windows.Forms.Button()
Me.btnCancel = New System.Windows.Forms.Button() Me.btnCancel = New System.Windows.Forms.Button()
Me.grpBackup = New System.Windows.Forms.GroupBox()
Me.lblMinutes = New System.Windows.Forms.Label() Me.lblMinutes = New System.Windows.Forms.Label()
Me.nudSupressBackupThreshold = New System.Windows.Forms.NumericUpDown() Me.nudSupressBackupThreshold = New System.Windows.Forms.NumericUpDown()
Me.chkSupressBackup = New System.Windows.Forms.CheckBox() Me.chkSupressBackup = New System.Windows.Forms.CheckBox()
@@ -65,8 +64,7 @@ Partial Class frmSettings
Me.grpGameData = New System.Windows.Forms.GroupBox() Me.grpGameData = New System.Windows.Forms.GroupBox()
Me.lstSettings = New System.Windows.Forms.ListBox() Me.lstSettings = New System.Windows.Forms.ListBox()
Me.grpStartup.SuspendLayout() Me.grpStartup.SuspendLayout()
Me.grpPaths.SuspendLayout() Me.grpFolderOptions.SuspendLayout()
Me.grpBackup.SuspendLayout()
CType(Me.nudSupressBackupThreshold, System.ComponentModel.ISupportInitialize).BeginInit() CType(Me.nudSupressBackupThreshold, System.ComponentModel.ISupportInitialize).BeginInit()
Me.grp7zGeneral.SuspendLayout() Me.grp7zGeneral.SuspendLayout()
Me.pnlBackup.SuspendLayout() Me.pnlBackup.SuspendLayout()
@@ -90,7 +88,7 @@ Partial Class frmSettings
'chkBackupConfirm 'chkBackupConfirm
' '
Me.chkBackupConfirm.AutoSize = True Me.chkBackupConfirm.AutoSize = True
Me.chkBackupConfirm.Location = New System.Drawing.Point(6, 19) Me.chkBackupConfirm.Location = New System.Drawing.Point(6, 88)
Me.chkBackupConfirm.Name = "chkBackupConfirm" Me.chkBackupConfirm.Name = "chkBackupConfirm"
Me.chkBackupConfirm.Size = New System.Drawing.Size(160, 17) Me.chkBackupConfirm.Size = New System.Drawing.Size(160, 17)
Me.chkBackupConfirm.TabIndex = 1 Me.chkBackupConfirm.TabIndex = 1
@@ -179,18 +177,18 @@ Partial Class frmSettings
Me.chkShowDetectionTips.Text = "Show detection notifications" Me.chkShowDetectionTips.Text = "Show detection notifications"
Me.chkShowDetectionTips.UseVisualStyleBackColor = True Me.chkShowDetectionTips.UseVisualStyleBackColor = True
' '
'grpPaths 'grpFolderOptions
' '
Me.grpPaths.Controls.Add(Me.btnBackupFolder) Me.grpFolderOptions.Controls.Add(Me.btnBackupFolder)
Me.grpPaths.Controls.Add(Me.lblBackupFolder) Me.grpFolderOptions.Controls.Add(Me.lblBackupFolder)
Me.grpPaths.Controls.Add(Me.txtBackupFolder) Me.grpFolderOptions.Controls.Add(Me.txtBackupFolder)
Me.grpPaths.Controls.Add(Me.chkCreateFolder) Me.grpFolderOptions.Controls.Add(Me.chkCreateFolder)
Me.grpPaths.Location = New System.Drawing.Point(6, 158) Me.grpFolderOptions.Location = New System.Drawing.Point(6, 12)
Me.grpPaths.Name = "grpPaths" Me.grpFolderOptions.Name = "grpFolderOptions"
Me.grpPaths.Size = New System.Drawing.Size(354, 70) Me.grpFolderOptions.Size = New System.Drawing.Size(354, 70)
Me.grpPaths.TabIndex = 1 Me.grpFolderOptions.TabIndex = 1
Me.grpPaths.TabStop = False Me.grpFolderOptions.TabStop = False
Me.grpPaths.Text = "Paths" Me.grpFolderOptions.Text = "Folders"
' '
'btnBackupFolder 'btnBackupFolder
' '
@@ -247,26 +245,10 @@ Partial Class frmSettings
Me.btnCancel.Text = "&Cancel" Me.btnCancel.Text = "&Cancel"
Me.btnCancel.UseVisualStyleBackColor = True Me.btnCancel.UseVisualStyleBackColor = True
' '
'grpBackup
'
Me.grpBackup.Controls.Add(Me.lblMinutes)
Me.grpBackup.Controls.Add(Me.nudSupressBackupThreshold)
Me.grpBackup.Controls.Add(Me.chkSupressBackup)
Me.grpBackup.Controls.Add(Me.chkCheckSum)
Me.grpBackup.Controls.Add(Me.chkRestoreOnLaunch)
Me.grpBackup.Controls.Add(Me.chkOverwriteWarning)
Me.grpBackup.Controls.Add(Me.chkBackupConfirm)
Me.grpBackup.Location = New System.Drawing.Point(6, 12)
Me.grpBackup.Name = "grpBackup"
Me.grpBackup.Size = New System.Drawing.Size(354, 140)
Me.grpBackup.TabIndex = 0
Me.grpBackup.TabStop = False
Me.grpBackup.Text = "Backup and Restore"
'
'lblMinutes 'lblMinutes
' '
Me.lblMinutes.AutoSize = True Me.lblMinutes.AutoSize = True
Me.lblMinutes.Location = New System.Drawing.Point(286, 112) Me.lblMinutes.Location = New System.Drawing.Point(286, 181)
Me.lblMinutes.Name = "lblMinutes" Me.lblMinutes.Name = "lblMinutes"
Me.lblMinutes.Size = New System.Drawing.Size(43, 13) Me.lblMinutes.Size = New System.Drawing.Size(43, 13)
Me.lblMinutes.TabIndex = 7 Me.lblMinutes.TabIndex = 7
@@ -274,7 +256,7 @@ Partial Class frmSettings
' '
'nudSupressBackupThreshold 'nudSupressBackupThreshold
' '
Me.nudSupressBackupThreshold.Location = New System.Drawing.Point(229, 110) Me.nudSupressBackupThreshold.Location = New System.Drawing.Point(229, 179)
Me.nudSupressBackupThreshold.Maximum = New Decimal(New Integer() {999, 0, 0, 0}) Me.nudSupressBackupThreshold.Maximum = New Decimal(New Integer() {999, 0, 0, 0})
Me.nudSupressBackupThreshold.Name = "nudSupressBackupThreshold" Me.nudSupressBackupThreshold.Name = "nudSupressBackupThreshold"
Me.nudSupressBackupThreshold.Size = New System.Drawing.Size(51, 20) Me.nudSupressBackupThreshold.Size = New System.Drawing.Size(51, 20)
@@ -283,7 +265,7 @@ Partial Class frmSettings
'chkSupressBackup 'chkSupressBackup
' '
Me.chkSupressBackup.AutoSize = True Me.chkSupressBackup.AutoSize = True
Me.chkSupressBackup.Location = New System.Drawing.Point(6, 111) Me.chkSupressBackup.Location = New System.Drawing.Point(6, 180)
Me.chkSupressBackup.Name = "chkSupressBackup" Me.chkSupressBackup.Name = "chkSupressBackup"
Me.chkSupressBackup.Size = New System.Drawing.Size(217, 17) Me.chkSupressBackup.Size = New System.Drawing.Size(217, 17)
Me.chkSupressBackup.TabIndex = 5 Me.chkSupressBackup.TabIndex = 5
@@ -293,7 +275,7 @@ Partial Class frmSettings
'chkCheckSum 'chkCheckSum
' '
Me.chkCheckSum.AutoSize = True Me.chkCheckSum.AutoSize = True
Me.chkCheckSum.Location = New System.Drawing.Point(6, 65) Me.chkCheckSum.Location = New System.Drawing.Point(6, 134)
Me.chkCheckSum.Name = "chkCheckSum" Me.chkCheckSum.Name = "chkCheckSum"
Me.chkCheckSum.Size = New System.Drawing.Size(195, 17) Me.chkCheckSum.Size = New System.Drawing.Size(195, 17)
Me.chkCheckSum.TabIndex = 3 Me.chkCheckSum.TabIndex = 3
@@ -303,7 +285,7 @@ Partial Class frmSettings
'chkRestoreOnLaunch 'chkRestoreOnLaunch
' '
Me.chkRestoreOnLaunch.AutoSize = True Me.chkRestoreOnLaunch.AutoSize = True
Me.chkRestoreOnLaunch.Location = New System.Drawing.Point(6, 88) Me.chkRestoreOnLaunch.Location = New System.Drawing.Point(6, 157)
Me.chkRestoreOnLaunch.Name = "chkRestoreOnLaunch" Me.chkRestoreOnLaunch.Name = "chkRestoreOnLaunch"
Me.chkRestoreOnLaunch.Size = New System.Drawing.Size(257, 17) Me.chkRestoreOnLaunch.Size = New System.Drawing.Size(257, 17)
Me.chkRestoreOnLaunch.TabIndex = 4 Me.chkRestoreOnLaunch.TabIndex = 4
@@ -313,7 +295,7 @@ Partial Class frmSettings
'chkOverwriteWarning 'chkOverwriteWarning
' '
Me.chkOverwriteWarning.AutoSize = True Me.chkOverwriteWarning.AutoSize = True
Me.chkOverwriteWarning.Location = New System.Drawing.Point(6, 42) Me.chkOverwriteWarning.Location = New System.Drawing.Point(6, 111)
Me.chkOverwriteWarning.Name = "chkOverwriteWarning" Me.chkOverwriteWarning.Name = "chkOverwriteWarning"
Me.chkOverwriteWarning.Size = New System.Drawing.Size(139, 17) Me.chkOverwriteWarning.Size = New System.Drawing.Size(139, 17)
Me.chkOverwriteWarning.TabIndex = 2 Me.chkOverwriteWarning.TabIndex = 2
@@ -419,8 +401,14 @@ Partial Class frmSettings
' '
'pnlBackup 'pnlBackup
' '
Me.pnlBackup.Controls.Add(Me.grpBackup) Me.pnlBackup.Controls.Add(Me.lblMinutes)
Me.pnlBackup.Controls.Add(Me.grpPaths) Me.pnlBackup.Controls.Add(Me.nudSupressBackupThreshold)
Me.pnlBackup.Controls.Add(Me.grpFolderOptions)
Me.pnlBackup.Controls.Add(Me.chkSupressBackup)
Me.pnlBackup.Controls.Add(Me.chkBackupConfirm)
Me.pnlBackup.Controls.Add(Me.chkCheckSum)
Me.pnlBackup.Controls.Add(Me.chkOverwriteWarning)
Me.pnlBackup.Controls.Add(Me.chkRestoreOnLaunch)
Me.pnlBackup.Location = New System.Drawing.Point(180, 0) Me.pnlBackup.Location = New System.Drawing.Point(180, 0)
Me.pnlBackup.Name = "pnlBackup" Me.pnlBackup.Name = "pnlBackup"
Me.pnlBackup.Size = New System.Drawing.Size(367, 314) Me.pnlBackup.Size = New System.Drawing.Size(367, 314)
@@ -501,9 +489,9 @@ Partial Class frmSettings
Me.Controls.Add(Me.btnDefaults) Me.Controls.Add(Me.btnDefaults)
Me.Controls.Add(Me.btnCancel) Me.Controls.Add(Me.btnCancel)
Me.Controls.Add(Me.btnSave) Me.Controls.Add(Me.btnSave)
Me.Controls.Add(Me.pnl7z)
Me.Controls.Add(Me.pnlBackup) Me.Controls.Add(Me.pnlBackup)
Me.Controls.Add(Me.pnlGeneral) Me.Controls.Add(Me.pnlGeneral)
Me.Controls.Add(Me.pnl7z)
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle
Me.MaximizeBox = False Me.MaximizeBox = False
Me.MinimizeBox = False Me.MinimizeBox = False
@@ -514,14 +502,13 @@ Partial Class frmSettings
Me.Text = "Settings" Me.Text = "Settings"
Me.grpStartup.ResumeLayout(False) Me.grpStartup.ResumeLayout(False)
Me.grpStartup.PerformLayout() Me.grpStartup.PerformLayout()
Me.grpPaths.ResumeLayout(False) Me.grpFolderOptions.ResumeLayout(False)
Me.grpPaths.PerformLayout() Me.grpFolderOptions.PerformLayout()
Me.grpBackup.ResumeLayout(False)
Me.grpBackup.PerformLayout()
CType(Me.nudSupressBackupThreshold, System.ComponentModel.ISupportInitialize).EndInit() CType(Me.nudSupressBackupThreshold, System.ComponentModel.ISupportInitialize).EndInit()
Me.grp7zGeneral.ResumeLayout(False) Me.grp7zGeneral.ResumeLayout(False)
Me.grp7zGeneral.PerformLayout() Me.grp7zGeneral.PerformLayout()
Me.pnlBackup.ResumeLayout(False) Me.pnlBackup.ResumeLayout(False)
Me.pnlBackup.PerformLayout()
Me.pnl7z.ResumeLayout(False) Me.pnl7z.ResumeLayout(False)
Me.grp7zAdvanced.ResumeLayout(False) Me.grp7zAdvanced.ResumeLayout(False)
Me.grp7zAdvanced.PerformLayout() Me.grp7zAdvanced.PerformLayout()
@@ -536,7 +523,7 @@ Partial Class frmSettings
Friend WithEvents chkMonitorOnStartup As System.Windows.Forms.CheckBox Friend WithEvents chkMonitorOnStartup As System.Windows.Forms.CheckBox
Friend WithEvents chkBackupConfirm As System.Windows.Forms.CheckBox Friend WithEvents chkBackupConfirm As System.Windows.Forms.CheckBox
Friend WithEvents grpStartup As System.Windows.Forms.GroupBox Friend WithEvents grpStartup As System.Windows.Forms.GroupBox
Friend WithEvents grpPaths As System.Windows.Forms.GroupBox Friend WithEvents grpFolderOptions As System.Windows.Forms.GroupBox
Friend WithEvents txtBackupFolder As System.Windows.Forms.TextBox Friend WithEvents txtBackupFolder As System.Windows.Forms.TextBox
Friend WithEvents btnSave As System.Windows.Forms.Button Friend WithEvents btnSave As System.Windows.Forms.Button
Friend WithEvents btnCancel As System.Windows.Forms.Button Friend WithEvents btnCancel As System.Windows.Forms.Button
@@ -544,7 +531,6 @@ Partial Class frmSettings
Friend WithEvents btnBackupFolder As System.Windows.Forms.Button Friend WithEvents btnBackupFolder As System.Windows.Forms.Button
Friend WithEvents chkShowDetectionTips As System.Windows.Forms.CheckBox Friend WithEvents chkShowDetectionTips As System.Windows.Forms.CheckBox
Friend WithEvents chkStartToTray As System.Windows.Forms.CheckBox Friend WithEvents chkStartToTray As System.Windows.Forms.CheckBox
Friend WithEvents grpBackup As System.Windows.Forms.GroupBox
Friend WithEvents chkOverwriteWarning As System.Windows.Forms.CheckBox Friend WithEvents chkOverwriteWarning As System.Windows.Forms.CheckBox
Friend WithEvents chkCreateFolder As System.Windows.Forms.CheckBox Friend WithEvents chkCreateFolder As System.Windows.Forms.CheckBox
Friend WithEvents chkRestoreOnLaunch As System.Windows.Forms.CheckBox Friend WithEvents chkRestoreOnLaunch As System.Windows.Forms.CheckBox
+1 -2
View File
@@ -277,7 +277,6 @@ Public Class frmSettings
Me.Text = frmSettings_FormName Me.Text = frmSettings_FormName
'Set Form Text 'Set Form Text
grpBackup.Text = frmSettings_grpBackup
lblMinutes.Text = frmSettings_lblMinutes lblMinutes.Text = frmSettings_lblMinutes
chkSupressBackup.Text = frmSettings_chkSupressBackup chkSupressBackup.Text = frmSettings_chkSupressBackup
chkCheckSum.Text = frmSettings_chkCheckSum chkCheckSum.Text = frmSettings_chkCheckSum
@@ -287,7 +286,7 @@ Public Class frmSettings
chkBackupConfirm.Text = frmSettings_chkBackupConfirm chkBackupConfirm.Text = frmSettings_chkBackupConfirm
btnCancel.Text = frmSettings_btnCancel btnCancel.Text = frmSettings_btnCancel
btnSave.Text = frmSettings_btnSave btnSave.Text = frmSettings_btnSave
grpPaths.Text = frmSettings_grpPaths grpFolderOptions.Text = frmSettings_grpFolderOptions
btnBackupFolder.Text = frmSettings_btnBackupFolder btnBackupFolder.Text = frmSettings_btnBackupFolder
lblBackupFolder.Text = frmSettings_lblBackupFolder lblBackupFolder.Text = frmSettings_lblBackupFolder
grpStartup.Text = frmSettings_grpStartup grpStartup.Text = frmSettings_grpStartup
+3 -12
View File
@@ -3418,11 +3418,11 @@ Namespace My.Resources
End Property End Property
'''<summary> '''<summary>
''' Looks up a localized string similar to Backup and Restore. ''' Looks up a localized string similar to Folders.
'''</summary> '''</summary>
Friend ReadOnly Property frmSettings_grpBackup() As String Friend ReadOnly Property frmSettings_grpFolderOptions() As String
Get Get
Return ResourceManager.GetString("frmSettings_grpBackup", resourceCulture) Return ResourceManager.GetString("frmSettings_grpFolderOptions", resourceCulture)
End Get End Get
End Property End Property
@@ -3435,15 +3435,6 @@ Namespace My.Resources
End Get End Get
End Property End Property
'''<summary>
''' Looks up a localized string similar to Paths.
'''</summary>
Friend ReadOnly Property frmSettings_grpPaths() As String
Get
Return ResourceManager.GetString("frmSettings_grpPaths", resourceCulture)
End Get
End Property
'''<summary> '''<summary>
''' Looks up a localized string similar to Startup. ''' Looks up a localized string similar to Startup.
'''</summary> '''</summary>
+2 -5
View File
@@ -1117,14 +1117,11 @@
<data name="frmSettings_FormName" xml:space="preserve"> <data name="frmSettings_FormName" xml:space="preserve">
<value>Settings</value> <value>Settings</value>
</data> </data>
<data name="frmSettings_grpBackup" xml:space="preserve">
<value>Backup and Restore</value>
</data>
<data name="frmSettings_grpStartup" xml:space="preserve"> <data name="frmSettings_grpStartup" xml:space="preserve">
<value>Startup</value> <value>Startup</value>
</data> </data>
<data name="frmSettings_grpPaths" xml:space="preserve"> <data name="frmSettings_grpFolderOptions" xml:space="preserve">
<value>Paths</value> <value>Folders</value>
</data> </data>
<data name="frmSettings_lblBackupFolder" xml:space="preserve"> <data name="frmSettings_lblBackupFolder" xml:space="preserve">
<value>Backup Folder:</value> <value>Backup Folder:</value>