Minor UI fixes for issue 20

This commit is contained in:
Michael J. Seiferling
2015-12-06 23:50:29 -06:00
parent 7871b6e012
commit d42093c860
2 changed files with 12 additions and 12 deletions
+10 -10
View File
@@ -61,7 +61,7 @@ Partial Class frmGameManager
Me.btnTags = New System.Windows.Forms.Button() Me.btnTags = New System.Windows.Forms.Button()
Me.grpStats = New System.Windows.Forms.GroupBox() Me.grpStats = New System.Windows.Forms.GroupBox()
Me.btnRestorePathLock = New System.Windows.Forms.Button() Me.btnRestorePathLock = New System.Windows.Forms.Button()
Me.Label2 = New System.Windows.Forms.Label() Me.lblRestorePath = New System.Windows.Forms.Label()
Me.txtRestorePath = New System.Windows.Forms.TextBox() Me.txtRestorePath = New System.Windows.Forms.TextBox()
Me.btnOpenRestorePath = New System.Windows.Forms.Button() Me.btnOpenRestorePath = New System.Windows.Forms.Button()
Me.btnOpenBackupFile = New System.Windows.Forms.Button() Me.btnOpenBackupFile = New System.Windows.Forms.Button()
@@ -461,7 +461,7 @@ Partial Class frmGameManager
' '
Me.grpStats.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) Me.grpStats.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
Me.grpStats.Controls.Add(Me.btnRestorePathLock) Me.grpStats.Controls.Add(Me.btnRestorePathLock)
Me.grpStats.Controls.Add(Me.Label2) Me.grpStats.Controls.Add(Me.lblRestorePath)
Me.grpStats.Controls.Add(Me.txtRestorePath) Me.grpStats.Controls.Add(Me.txtRestorePath)
Me.grpStats.Controls.Add(Me.btnOpenRestorePath) Me.grpStats.Controls.Add(Me.btnOpenRestorePath)
Me.grpStats.Controls.Add(Me.btnOpenBackupFile) Me.grpStats.Controls.Add(Me.btnOpenBackupFile)
@@ -489,14 +489,14 @@ Partial Class frmGameManager
Me.btnRestorePathLock.TabIndex = 9 Me.btnRestorePathLock.TabIndex = 9
Me.btnRestorePathLock.UseVisualStyleBackColor = True Me.btnRestorePathLock.UseVisualStyleBackColor = True
' '
'Label2 'lblRestorePath
' '
Me.Label2.AutoSize = True Me.lblRestorePath.AutoSize = True
Me.Label2.Location = New System.Drawing.Point(6, 102) Me.lblRestorePath.Location = New System.Drawing.Point(6, 102)
Me.Label2.Name = "Label2" Me.lblRestorePath.Name = "lblRestorePath"
Me.Label2.Size = New System.Drawing.Size(72, 13) Me.lblRestorePath.Size = New System.Drawing.Size(72, 13)
Me.Label2.TabIndex = 3 Me.lblRestorePath.TabIndex = 3
Me.Label2.Text = "Restore Path:" Me.lblRestorePath.Text = "Restore Path:"
' '
'txtRestorePath 'txtRestorePath
' '
@@ -815,7 +815,7 @@ Partial Class frmGameManager
Friend WithEvents optTag As System.Windows.Forms.RadioButton Friend WithEvents optTag As System.Windows.Forms.RadioButton
Friend WithEvents btnInclude As System.Windows.Forms.Button Friend WithEvents btnInclude As System.Windows.Forms.Button
Friend WithEvents btnExclude As System.Windows.Forms.Button Friend WithEvents btnExclude As System.Windows.Forms.Button
Friend WithEvents Label2 As Label Friend WithEvents lblRestorePath As Label
Friend WithEvents txtRestorePath As TextBox Friend WithEvents txtRestorePath As TextBox
Friend WithEvents btnRestorePathLock As Button Friend WithEvents btnRestorePathLock As Button
End Class End Class
+2 -2
View File
@@ -1186,7 +1186,7 @@ Public Class frmGameManager
If txtRestorePath.ReadOnly Then If txtRestorePath.ReadOnly Then
If CurrentBackupItem.RestorePath = txtSavePath.Text Then If CurrentBackupItem.RestorePath = txtSavePath.Text Then
If MsgBox("No problems were detected with the current Restore Path, it's highly recommend you do NOT change it." & If MsgBox("No problems were detected with the current backup's Restore Path, it's highly recommend you do NOT change it." &
vbCrLf & vbCrLf & "Do you still want to unlock the field for editing?", vbCrLf & vbCrLf & "Do you still want to unlock the field for editing?",
MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then MsgBoxStyle.YesNo, "Game Backup Monitor") = MsgBoxResult.Yes Then
bUnlock = True bUnlock = True
@@ -1198,7 +1198,7 @@ Public Class frmGameManager
If bUnlock Then If bUnlock Then
txtRestorePath.ReadOnly = False txtRestorePath.ReadOnly = False
btnRestorePathLock.Image = My.Resources.Unlock btnRestorePathLock.Image = My.Resources.Unlock
MsgBox("You may now edit the Restore Path." & vbCrLf & vbCrLf & "Click the Lock button to save your changes.", MsgBoxStyle.Information, "Game Backup Monitor") MsgBox("You may now edit the Restore Path." & vbCrLf & vbCrLf & "Click the Lock button to save any changes.", MsgBoxStyle.Information, "Game Backup Monitor")
End If End If
Else Else
txtRestorePath.ReadOnly = True txtRestorePath.ReadOnly = True