Cosmetic updates
This commit is contained in:
Generated
+5
-4
@@ -44,10 +44,11 @@ Partial Class frmAdvancedImport
|
||||
'chkSelectAll
|
||||
'
|
||||
Me.chkSelectAll.AutoSize = True
|
||||
Me.chkSelectAll.Location = New System.Drawing.Point(18, 12)
|
||||
Me.chkSelectAll.Location = New System.Drawing.Point(12, 12)
|
||||
Me.chkSelectAll.Name = "chkSelectAll"
|
||||
Me.chkSelectAll.Size = New System.Drawing.Size(15, 14)
|
||||
Me.chkSelectAll.Size = New System.Drawing.Size(70, 17)
|
||||
Me.chkSelectAll.TabIndex = 0
|
||||
Me.chkSelectAll.Text = "Select All"
|
||||
Me.chkSelectAll.UseVisualStyleBackColor = True
|
||||
'
|
||||
'lblGames
|
||||
@@ -81,9 +82,9 @@ Partial Class frmAdvancedImport
|
||||
'
|
||||
Me.lstGames.CheckBoxes = True
|
||||
Me.lstGames.FullRowSelect = True
|
||||
Me.lstGames.Location = New System.Drawing.Point(12, 32)
|
||||
Me.lstGames.Location = New System.Drawing.Point(12, 35)
|
||||
Me.lstGames.Name = "lstGames"
|
||||
Me.lstGames.Size = New System.Drawing.Size(560, 332)
|
||||
Me.lstGames.Size = New System.Drawing.Size(560, 329)
|
||||
Me.lstGames.TabIndex = 2
|
||||
Me.lstGames.UseCompatibleStateImageBehavior = False
|
||||
Me.lstGames.View = System.Windows.Forms.View.Details
|
||||
|
||||
@@ -24,7 +24,6 @@ Public Class frmAdvancedImport
|
||||
End Get
|
||||
End Property
|
||||
|
||||
|
||||
Private Sub SelectToggle()
|
||||
Cursor.Current = Cursors.WaitCursor
|
||||
lstGames.BeginUpdate()
|
||||
@@ -126,6 +125,7 @@ Public Class frmAdvancedImport
|
||||
lblFilter.Text = frmAdvancedImport_lblFilter
|
||||
btnCancel.Text = frmAdvancedImport_btnCancel
|
||||
btnImport.Text = frmAdvancedImport_btnImport
|
||||
chkSelectAll.Text = frmAdvancedImport_chkSelectAll
|
||||
|
||||
chkSelectAll.Checked = True
|
||||
|
||||
|
||||
@@ -895,6 +895,51 @@ Public Class frmGameManager
|
||||
IsLoading = False
|
||||
End Sub
|
||||
|
||||
Private Sub FolderSaveModeChange()
|
||||
If chkFolderSave.Checked Then
|
||||
btnInclude.Enabled = False
|
||||
If txtFileType.Text <> String.Empty Then
|
||||
txtFileType.Text = String.Empty
|
||||
UpdateBuilderButtonLabel(txtFileType.Text, frmGameManager_IncludeShortcut, btnInclude, False)
|
||||
End If
|
||||
Else
|
||||
btnInclude.Enabled = True
|
||||
End If
|
||||
End Sub
|
||||
|
||||
Private Sub MonitorOnlyModeChange()
|
||||
If chkMonitorOnly.Checked Then
|
||||
txtSavePath.Text = String.Empty
|
||||
chkFolderSave.Checked = True
|
||||
chkTimeStamp.Checked = False
|
||||
|
||||
If txtFileType.Text <> String.Empty Then
|
||||
txtFileType.Text = String.Empty
|
||||
UpdateBuilderButtonLabel(txtFileType.Text, frmGameManager_IncludeShortcut, btnInclude, False)
|
||||
End If
|
||||
If txtExclude.Text <> String.Empty Then
|
||||
txtExclude.Text = String.Empty
|
||||
UpdateBuilderButtonLabel(txtExclude.Text, frmGameManager_ExcludeShortcut, btnExclude, False)
|
||||
End If
|
||||
|
||||
lblSavePath.Enabled = False
|
||||
btnSavePathBrowse.Enabled = False
|
||||
txtSavePath.Enabled = False
|
||||
chkFolderSave.Enabled = False
|
||||
chkTimeStamp.Enabled = False
|
||||
btnInclude.Enabled = False
|
||||
btnExclude.Enabled = False
|
||||
Else
|
||||
lblSavePath.Enabled = True
|
||||
btnSavePathBrowse.Enabled = True
|
||||
txtSavePath.Enabled = True
|
||||
chkFolderSave.Enabled = True
|
||||
chkTimeStamp.Enabled = True
|
||||
btnInclude.Enabled = True
|
||||
btnExclude.Enabled = True
|
||||
End If
|
||||
End Sub
|
||||
|
||||
Private Sub EditApp()
|
||||
eCurrentMode = eModes.Edit
|
||||
ModeChange()
|
||||
@@ -1421,15 +1466,11 @@ Public Class frmGameManager
|
||||
End Sub
|
||||
|
||||
Private Sub chkFolderSave_CheckedChanged(sender As Object, e As EventArgs) Handles chkFolderSave.CheckedChanged
|
||||
If chkFolderSave.Checked Then
|
||||
btnInclude.Enabled = False
|
||||
If txtFileType.Text <> String.Empty Then
|
||||
txtFileType.Text = String.Empty
|
||||
UpdateBuilderButtonLabel(txtFileType.Text, frmGameManager_IncludeShortcut, btnInclude, False)
|
||||
End If
|
||||
Else
|
||||
btnInclude.Enabled = True
|
||||
End If
|
||||
FolderSaveModeChange()
|
||||
End Sub
|
||||
|
||||
Private Sub chkMonitorOnly_CheckedChanged(sender As Object, e As EventArgs) Handles chkMonitorOnly.CheckedChanged
|
||||
MonitorOnlyModeChange()
|
||||
End Sub
|
||||
|
||||
Private Sub btnImport_Click(sender As Object, e As EventArgs) Handles btnImport.Click
|
||||
@@ -1447,4 +1488,5 @@ Public Class frmGameManager
|
||||
Private Sub btnExport_Click(sender As Object, e As EventArgs) Handles btnExport.Click
|
||||
ExportGameList()
|
||||
End Sub
|
||||
|
||||
End Class
|
||||
|
||||
@@ -65,7 +65,8 @@ Public Class frmMain
|
||||
Else
|
||||
Dim sPattern As String = "h:mm tt"
|
||||
lblLastActionTitle.Visible = True
|
||||
lblLastAction.Text = sMessage & " at " & TimeOfDay.ToString(sPattern)
|
||||
lblLastActionTitle.Text = frmMain_lblLastActionTitle & " [" & TimeOfDay.ToString(sPattern) & "]"
|
||||
lblLastAction.Text = sMessage
|
||||
End If
|
||||
End Sub
|
||||
|
||||
@@ -272,13 +273,13 @@ Public Class frmMain
|
||||
eCurrentOperation = eOperation.Backup
|
||||
OperationStarted(False)
|
||||
|
||||
If oProcess.GameInfo.MonitorOnly = False Then
|
||||
If SupressBackup() Then
|
||||
bDoBackup = False
|
||||
UpdateLog(mgrCommon.FormatString(frmMain_ErrorBackupSessionLength, oProcess.GameInfo.Name), False)
|
||||
SetLastAction(mgrCommon.FormatString(frmMain_ErrorBackupSessionLength, oProcess.GameInfo.CroppedName))
|
||||
OperationEnded()
|
||||
Else
|
||||
If oProcess.GameInfo.MonitorOnly = False Then
|
||||
If oSettings.DisableConfirmation Then
|
||||
bDoBackup = True
|
||||
Else
|
||||
@@ -291,13 +292,13 @@ Public Class frmMain
|
||||
OperationEnded()
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
Else
|
||||
bDoBackup = False
|
||||
UpdateLog(mgrCommon.FormatString(frmMain_MonitorEnded, oProcess.GameInfo.Name), False)
|
||||
SetLastAction(mgrCommon.FormatString(frmMain_MonitorEnded, oProcess.GameInfo.CroppedName))
|
||||
OperationEnded()
|
||||
End If
|
||||
End If
|
||||
|
||||
If bDoBackup Then
|
||||
'Run the backup
|
||||
|
||||
Generated
+14
-5
@@ -726,6 +726,15 @@ Namespace My.Resources
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Looks up a localized string similar to Select All.
|
||||
'''</summary>
|
||||
Friend ReadOnly Property frmAdvancedImport_chkSelectAll() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("frmAdvancedImport_chkSelectAll", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Looks up a localized string similar to Name.
|
||||
'''</summary>
|
||||
@@ -2329,7 +2338,7 @@ Namespace My.Resources
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Looks up a localized string similar to [PARAM] backup was cancelled due to session length.
|
||||
''' Looks up a localized string similar to [PARAM] backup was cancelled due to session length..
|
||||
'''</summary>
|
||||
Friend ReadOnly Property frmMain_ErrorBackupSessionLength() As String
|
||||
Get
|
||||
@@ -3935,7 +3944,7 @@ Namespace My.Resources
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Looks up a localized string similar to [PARAM] backup completed.
|
||||
''' Looks up a localized string similar to [PARAM] backup completed..
|
||||
'''</summary>
|
||||
Friend ReadOnly Property mgrBackup_ActionComplete() As String
|
||||
Get
|
||||
@@ -3944,7 +3953,7 @@ Namespace My.Resources
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Looks up a localized string similar to [PARAM] backup failed.
|
||||
''' Looks up a localized string similar to [PARAM] backup failed..
|
||||
'''</summary>
|
||||
Friend ReadOnly Property mgrBackup_ActionFailed() As String
|
||||
Get
|
||||
@@ -4259,7 +4268,7 @@ Namespace My.Resources
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Looks up a localized string similar to [PARAM] backup restored.
|
||||
''' Looks up a localized string similar to [PARAM] backup restored..
|
||||
'''</summary>
|
||||
Friend ReadOnly Property mgrRestore_ActionComplete() As String
|
||||
Get
|
||||
@@ -4268,7 +4277,7 @@ Namespace My.Resources
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Looks up a localized string similar to [PARAM] restore failed.
|
||||
''' Looks up a localized string similar to [PARAM] restore failed..
|
||||
'''</summary>
|
||||
Friend ReadOnly Property mgrRestore_ActionFailed() As String
|
||||
Get
|
||||
|
||||
@@ -212,7 +212,7 @@
|
||||
<value>[PARAM] backup was cancelled.</value>
|
||||
</data>
|
||||
<data name="frmMain_ErrorBackupSessionLength" xml:space="preserve">
|
||||
<value>[PARAM] backup was cancelled due to session length</value>
|
||||
<value>[PARAM] backup was cancelled due to session length.</value>
|
||||
</data>
|
||||
<data name="frmMain_ErrorBackupUnknownPath" xml:space="preserve">
|
||||
<value>[PARAM] backup was cancelled due to unknown path.</value>
|
||||
@@ -1307,10 +1307,10 @@
|
||||
<value>Do you wish to manually set the game path? (Path will be saved)</value>
|
||||
</data>
|
||||
<data name="mgrBackup_ActionComplete" xml:space="preserve">
|
||||
<value>[PARAM] backup completed</value>
|
||||
<value>[PARAM] backup completed.</value>
|
||||
</data>
|
||||
<data name="mgrBackup_ActionFailed" xml:space="preserve">
|
||||
<value>[PARAM] backup failed</value>
|
||||
<value>[PARAM] backup failed.</value>
|
||||
</data>
|
||||
<data name="mgrBackup_BackupComplete" xml:space="preserve">
|
||||
<value>[PARAM] backup ([PARAM]) completed. </value>
|
||||
@@ -1412,10 +1412,10 @@
|
||||
<value>[PARAM] was located in the following folder:[BR][BR][PARAM][BR][BR]Is this correct?</value>
|
||||
</data>
|
||||
<data name="mgrRestore_ActionComplete" xml:space="preserve">
|
||||
<value>[PARAM] backup restored</value>
|
||||
<value>[PARAM] backup restored.</value>
|
||||
</data>
|
||||
<data name="mgrRestore_ActionFailed" xml:space="preserve">
|
||||
<value>[PARAM] restore failed</value>
|
||||
<value>[PARAM] restore failed.</value>
|
||||
</data>
|
||||
<data name="mgrRestore_ConfirmCreatePath" xml:space="preserve">
|
||||
<value>The restore path [PARAM] does not exist.[BR][BR]Do you want to create the folder and continue?</value>
|
||||
@@ -1585,4 +1585,7 @@
|
||||
<data name="frmAdvancedImport_Filtered" xml:space="preserve">
|
||||
<value>[Filtered]</value>
|
||||
</data>
|
||||
<data name="frmAdvancedImport_chkSelectAll" xml:space="preserve">
|
||||
<value>Select All</value>
|
||||
</data>
|
||||
</root>
|
||||
Reference in New Issue
Block a user