diff --git a/GBM/Forms/frmAddWizard.Designer.vb b/GBM/Forms/frmAddWizard.Designer.vb index 6712453..d434a05 100644 --- a/GBM/Forms/frmAddWizard.Designer.vb +++ b/GBM/Forms/frmAddWizard.Designer.vb @@ -228,19 +228,17 @@ Partial Class frmAddWizard Me.lblLimit.AutoSize = True Me.lblLimit.Location = New System.Drawing.Point(203, 109) Me.lblLimit.Name = "lblLimit" - Me.lblLimit.Size = New System.Drawing.Size(68, 13) + Me.lblLimit.Size = New System.Drawing.Size(138, 13) Me.lblLimit.TabIndex = 15 - Me.lblLimit.Text = "Backup Limit" + Me.lblLimit.Text = "Backup Limit (0 = Unlimited)" Me.lblLimit.Visible = False ' 'nudLimit ' Me.nudLimit.Location = New System.Drawing.Point(157, 107) - Me.nudLimit.Minimum = New Decimal(New Integer() {2, 0, 0, 0}) Me.nudLimit.Name = "nudLimit" Me.nudLimit.Size = New System.Drawing.Size(40, 20) Me.nudLimit.TabIndex = 14 - Me.nudLimit.Value = New Decimal(New Integer() {2, 0, 0, 0}) Me.nudLimit.Visible = False ' 'lblStep3Title diff --git a/GBM/Forms/frmAddWizard.vb b/GBM/Forms/frmAddWizard.vb index 8ecc25e..13a4e76 100644 --- a/GBM/Forms/frmAddWizard.vb +++ b/GBM/Forms/frmAddWizard.vb @@ -75,10 +75,8 @@ Public Class frmAddWizard If chkTimeStamp.Checked Then nudLimit.Visible = True lblLimit.Visible = True - nudLimit.Value = 5 Else nudLimit.Visible = False - nudLimit.Value = nudLimit.Minimum lblLimit.Visible = False End If End Sub @@ -87,9 +85,13 @@ Public Class frmAddWizard Dim sLimit As String = String.Empty If bTimeStamp Then - Return mgrCommon.BooleanYesNo(bTimeStamp) & " (" & iLimit & ")" + If iLimit <> 0 Then + Return mgrCommon.BooleanYesNo(bTimeStamp) & " (" & iLimit & ")" + Else + Return mgrCommon.BooleanYesNo(bTimeStamp) & " (" & frmAddWizard_Summary_NoLimit & ")" + End If Else - Return mgrCommon.BooleanYesNo(bTimeStamp) + Return mgrCommon.BooleanYesNo(bTimeStamp) End If End Function diff --git a/GBM/Forms/frmGameManager.Designer.vb b/GBM/Forms/frmGameManager.Designer.vb index c2da1dc..bf94fe0 100644 --- a/GBM/Forms/frmGameManager.Designer.vb +++ b/GBM/Forms/frmGameManager.Designer.vb @@ -313,9 +313,9 @@ Partial Class frmGameManager Me.lblLimit.AutoSize = True Me.lblLimit.Location = New System.Drawing.Point(376, 229) Me.lblLimit.Name = "lblLimit" - Me.lblLimit.Size = New System.Drawing.Size(68, 13) + Me.lblLimit.Size = New System.Drawing.Size(138, 13) Me.lblLimit.TabIndex = 23 - Me.lblLimit.Text = "Backup Limit" + Me.lblLimit.Text = "Backup Limit (0 = Unlimited)" Me.lblLimit.Visible = False ' 'nudLimit @@ -981,18 +981,18 @@ Partial Class frmGameManager Me.cmsOpenBackup.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.cmsOpenBackupFile, Me.cmsOpenBackupFolder}) Me.cmsOpenBackup.Name = "cmsOpenBackup" Me.cmsOpenBackup.ShowImageMargin = False - Me.cmsOpenBackup.Size = New System.Drawing.Size(156, 70) + Me.cmsOpenBackup.Size = New System.Drawing.Size(83, 48) ' 'cmsOpenBackupFile ' Me.cmsOpenBackupFile.Name = "cmsOpenBackupFile" - Me.cmsOpenBackupFile.Size = New System.Drawing.Size(155, 22) + Me.cmsOpenBackupFile.Size = New System.Drawing.Size(82, 22) Me.cmsOpenBackupFile.Text = "&File" ' 'cmsOpenBackupFolder ' Me.cmsOpenBackupFolder.Name = "cmsOpenBackupFolder" - Me.cmsOpenBackupFolder.Size = New System.Drawing.Size(155, 22) + Me.cmsOpenBackupFolder.Size = New System.Drawing.Size(82, 22) Me.cmsOpenBackupFolder.Text = "F&older" ' 'frmGameManager diff --git a/GBM/My Project/Resources.Designer.vb b/GBM/My Project/Resources.Designer.vb index 3494233..8f165b5 100644 --- a/GBM/My Project/Resources.Designer.vb +++ b/GBM/My Project/Resources.Designer.vb @@ -547,7 +547,7 @@ Namespace My.Resources End Property ''' - ''' Looks up a localized string similar to Backup Limit. + ''' Looks up a localized string similar to Backup Limit (0 = Unlimited). ''' Friend ReadOnly Property frmAddWizard_lblLimit() As String Get @@ -744,6 +744,15 @@ Namespace My.Resources End Get End Property + ''' + ''' Looks up a localized string similar to Unlimited. + ''' + Friend ReadOnly Property frmAddWizard_Summary_NoLimit() As String + Get + Return ResourceManager.GetString("frmAddWizard_Summary_NoLimit", resourceCulture) + End Get + End Property + ''' ''' Looks up a localized string similar to Process. ''' @@ -2410,7 +2419,7 @@ Namespace My.Resources End Property ''' - ''' Looks up a localized string similar to Backup Limit. + ''' Looks up a localized string similar to Backup Limit (0 = Unlimited). ''' Friend ReadOnly Property frmGameManager_lblLimit() As String Get diff --git a/GBM/My Project/Resources.resx b/GBM/My Project/Resources.resx index ce1e1ad..cf5c9bf 100644 --- a/GBM/My Project/Resources.resx +++ b/GBM/My Project/Resources.resx @@ -1682,7 +1682,7 @@ You cannot choose a file located outside the current [PARAM] backup folder. - Backup Limit + Backup Limit (0 = Unlimited) [PARAM] was automatically removed. @@ -1697,7 +1697,7 @@ This will delete all backup files for [PARAM]. This cannot be undone. [BR][BR]Do you want to continue? - Backup Limit + Backup Limit (0 = Unlimited) Unknown @@ -2389,4 +2389,7 @@ The backup folder does not exist. + + Unlimited + \ No newline at end of file diff --git a/GBM/readme.txt b/GBM/readme.txt index d2b181f..fd4b7de 100644 --- a/GBM/readme.txt +++ b/GBM/readme.txt @@ -9,6 +9,8 @@ New in 1.1.9 All Platforms: - Fixed a bug on the Game Manager that caused the "Save Entire Folder" checkbox to be unchecked anytime the "Save Path" field was changed. +- The "Add Game Wizard" now allows you to set an unlimited number of backups. +- The "Backup Limit" label has been updated to indicate that 0 means unlimited. - The "Open Backup File" button on the Game Manager is now called "Open Backup". It now gives a choice between opening the backup file or the folder containing the file. - Set rules are now used for backup folder and file names, regardless of the operating system GBM is running on. - GBM now always filters out NTFS reserved characters and allows a maximum file name length of 255.