Fixes to Game Manager UI

This commit is contained in:
Michael J. Seiferling
2016-08-18 20:17:02 -06:00
parent 1fab0e0cf4
commit 9cbc2b3240
2 changed files with 50 additions and 44 deletions
+48 -44
View File
@@ -61,6 +61,10 @@ Partial Class frmGameManager
Me.lblHours = New System.Windows.Forms.Label() Me.lblHours = New System.Windows.Forms.Label()
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.lblRestorePathData = New System.Windows.Forms.Label()
Me.lblBackupFileData = New System.Windows.Forms.Label()
Me.lblCurrentBackupData = New System.Windows.Forms.Label()
Me.lblLatestBackupData = New System.Windows.Forms.Label()
Me.lblRestorePath = New System.Windows.Forms.Label() Me.lblRestorePath = New System.Windows.Forms.Label()
Me.btnChangeBackup = New System.Windows.Forms.Button() Me.btnChangeBackup = New System.Windows.Forms.Button()
Me.btnOpenRestorePath = New System.Windows.Forms.Button() Me.btnOpenRestorePath = New System.Windows.Forms.Button()
@@ -87,10 +91,6 @@ Partial Class frmGameManager
Me.cmsFile = New System.Windows.Forms.ToolStripMenuItem() Me.cmsFile = New System.Windows.Forms.ToolStripMenuItem()
Me.txtQuickFilter = New System.Windows.Forms.TextBox() Me.txtQuickFilter = New System.Windows.Forms.TextBox()
Me.lblQuickFilter = New System.Windows.Forms.Label() Me.lblQuickFilter = New System.Windows.Forms.Label()
Me.lblLatestBackupData = New System.Windows.Forms.Label()
Me.lblCurrentBackupData = New System.Windows.Forms.Label()
Me.lblBackupFileData = New System.Windows.Forms.Label()
Me.lblRestorePathData = New System.Windows.Forms.Label()
Me.grpConfig.SuspendLayout() Me.grpConfig.SuspendLayout()
Me.grpExtra.SuspendLayout() Me.grpExtra.SuspendLayout()
CType(Me.pbIcon, System.ComponentModel.ISupportInitialize).BeginInit() CType(Me.pbIcon, System.ComponentModel.ISupportInitialize).BeginInit()
@@ -487,6 +487,50 @@ Partial Class frmGameManager
Me.grpStats.TabStop = False Me.grpStats.TabStop = False
Me.grpStats.Text = "Backup Information" Me.grpStats.Text = "Backup Information"
' '
'lblRestorePathData
'
Me.lblRestorePathData.AutoEllipsis = True
Me.lblRestorePathData.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.lblRestorePathData.Location = New System.Drawing.Point(96, 98)
Me.lblRestorePathData.Name = "lblRestorePathData"
Me.lblRestorePathData.Size = New System.Drawing.Size(387, 20)
Me.lblRestorePathData.TabIndex = 7
Me.lblRestorePathData.Tag = "wipe"
Me.lblRestorePathData.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'lblBackupFileData
'
Me.lblBackupFileData.AutoEllipsis = True
Me.lblBackupFileData.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.lblBackupFileData.Location = New System.Drawing.Point(96, 73)
Me.lblBackupFileData.Name = "lblBackupFileData"
Me.lblBackupFileData.Size = New System.Drawing.Size(387, 20)
Me.lblBackupFileData.TabIndex = 6
Me.lblBackupFileData.Tag = "wipe"
Me.lblBackupFileData.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'lblCurrentBackupData
'
Me.lblCurrentBackupData.AutoEllipsis = True
Me.lblCurrentBackupData.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.lblCurrentBackupData.Location = New System.Drawing.Point(96, 49)
Me.lblCurrentBackupData.Name = "lblCurrentBackupData"
Me.lblCurrentBackupData.Size = New System.Drawing.Size(387, 20)
Me.lblCurrentBackupData.TabIndex = 5
Me.lblCurrentBackupData.Tag = "wipe"
Me.lblCurrentBackupData.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'lblLatestBackupData
'
Me.lblLatestBackupData.AutoEllipsis = True
Me.lblLatestBackupData.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.lblLatestBackupData.Location = New System.Drawing.Point(96, 23)
Me.lblLatestBackupData.Name = "lblLatestBackupData"
Me.lblLatestBackupData.Size = New System.Drawing.Size(387, 20)
Me.lblLatestBackupData.TabIndex = 4
Me.lblLatestBackupData.Tag = "wipe"
Me.lblLatestBackupData.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'lblRestorePath 'lblRestorePath
' '
Me.lblRestorePath.AutoSize = True Me.lblRestorePath.AutoSize = True
@@ -729,46 +773,6 @@ Partial Class frmGameManager
Me.lblQuickFilter.TabIndex = 1 Me.lblQuickFilter.TabIndex = 1
Me.lblQuickFilter.Text = "Quick Filter:" Me.lblQuickFilter.Text = "Quick Filter:"
' '
'lblLatestBackupData
'
Me.lblLatestBackupData.AutoEllipsis = True
Me.lblLatestBackupData.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.lblLatestBackupData.Location = New System.Drawing.Point(96, 23)
Me.lblLatestBackupData.Name = "lblLatestBackupData"
Me.lblLatestBackupData.Size = New System.Drawing.Size(387, 20)
Me.lblLatestBackupData.TabIndex = 4
Me.lblLatestBackupData.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'lblCurrentBackupData
'
Me.lblCurrentBackupData.AutoEllipsis = True
Me.lblCurrentBackupData.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.lblCurrentBackupData.Location = New System.Drawing.Point(96, 49)
Me.lblCurrentBackupData.Name = "lblCurrentBackupData"
Me.lblCurrentBackupData.Size = New System.Drawing.Size(387, 20)
Me.lblCurrentBackupData.TabIndex = 5
Me.lblCurrentBackupData.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'lblBackupFileData
'
Me.lblBackupFileData.AutoEllipsis = True
Me.lblBackupFileData.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.lblBackupFileData.Location = New System.Drawing.Point(96, 73)
Me.lblBackupFileData.Name = "lblBackupFileData"
Me.lblBackupFileData.Size = New System.Drawing.Size(387, 20)
Me.lblBackupFileData.TabIndex = 6
Me.lblBackupFileData.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'lblRestorePathData
'
Me.lblRestorePathData.AutoEllipsis = True
Me.lblRestorePathData.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.lblRestorePathData.Location = New System.Drawing.Point(96, 98)
Me.lblRestorePathData.Name = "lblRestorePathData"
Me.lblRestorePathData.Size = New System.Drawing.Size(387, 20)
Me.lblRestorePathData.TabIndex = 7
Me.lblRestorePathData.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'frmGameManager 'frmGameManager
' '
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
+2
View File
@@ -743,6 +743,8 @@ Public Class frmGameManager
DirectCast(ctl, TextBox).Text = String.Empty DirectCast(ctl, TextBox).Text = String.Empty
ElseIf TypeOf ctl Is CheckBox Then ElseIf TypeOf ctl Is CheckBox Then
DirectCast(ctl, CheckBox).Checked = False DirectCast(ctl, CheckBox).Checked = False
ElseIf TypeOf ctl Is Label Then
If ctl.Tag = "wipe" Then DirectCast(ctl, Label).Text = String.Empty
ElseIf TypeOf ctl Is NumericUpDown Then ElseIf TypeOf ctl Is NumericUpDown Then
DirectCast(ctl, NumericUpDown).Value = 0 DirectCast(ctl, NumericUpDown).Value = 0
End If End If