Made Game Manager UI look less terrible

This commit is contained in:
Michael J. Seiferling
2019-02-07 08:28:36 -06:00
parent e0b3d3c394
commit 2bceca2976
4 changed files with 58 additions and 30 deletions
+41 -29
View File
@@ -110,6 +110,7 @@ Partial Class frmGameManager
Me.cmsDeleteAll = New System.Windows.Forms.ToolStripMenuItem() Me.cmsDeleteAll = New System.Windows.Forms.ToolStripMenuItem()
Me.btnProcesses = New System.Windows.Forms.Button() Me.btnProcesses = New System.Windows.Forms.Button()
Me.ttFullPath = New System.Windows.Forms.ToolTip(Me.components) Me.ttFullPath = New System.Windows.Forms.ToolTip(Me.components)
Me.btnAdvancedConfig = New System.Windows.Forms.Button()
Me.grpConfig.SuspendLayout() Me.grpConfig.SuspendLayout()
CType(Me.nudLimit, System.ComponentModel.ISupportInitialize).BeginInit() CType(Me.nudLimit, System.ComponentModel.ISupportInitialize).BeginInit()
Me.grpExtra.SuspendLayout() Me.grpExtra.SuspendLayout()
@@ -166,15 +167,16 @@ Partial Class frmGameManager
'grpConfig 'grpConfig
' '
Me.grpConfig.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) Me.grpConfig.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
Me.grpConfig.Controls.Add(Me.btnAdvancedConfig)
Me.grpConfig.Controls.Add(Me.lblOS) Me.grpConfig.Controls.Add(Me.lblOS)
Me.grpConfig.Controls.Add(Me.cboOS) Me.grpConfig.Controls.Add(Me.cboOS)
Me.grpConfig.Controls.Add(Me.chkRecurseSubFolders) Me.grpConfig.Controls.Add(Me.chkRecurseSubFolders)
Me.grpConfig.Controls.Add(Me.btnGameID) Me.grpConfig.Controls.Add(Me.btnGameID)
Me.grpConfig.Controls.Add(Me.chkRegEx) Me.grpConfig.Controls.Add(Me.chkRegEx)
Me.grpConfig.Controls.Add(Me.lblComments) Me.grpConfig.Controls.Add(Me.lblComments)
Me.grpConfig.Controls.Add(Me.txtComments)
Me.grpConfig.Controls.Add(Me.txtParameter) Me.grpConfig.Controls.Add(Me.txtParameter)
Me.grpConfig.Controls.Add(Me.lblParameter) Me.grpConfig.Controls.Add(Me.lblParameter)
Me.grpConfig.Controls.Add(Me.txtComments)
Me.grpConfig.Controls.Add(Me.chkCleanFolder) Me.grpConfig.Controls.Add(Me.chkCleanFolder)
Me.grpConfig.Controls.Add(Me.lblLimit) Me.grpConfig.Controls.Add(Me.lblLimit)
Me.grpConfig.Controls.Add(Me.nudLimit) Me.grpConfig.Controls.Add(Me.nudLimit)
@@ -204,20 +206,20 @@ Partial Class frmGameManager
'lblOS 'lblOS
' '
Me.lblOS.AutoSize = True Me.lblOS.AutoSize = True
Me.lblOS.Location = New System.Drawing.Point(363, 74) Me.lblOS.Location = New System.Drawing.Point(7, 172)
Me.lblOS.Name = "lblOS" Me.lblOS.Name = "lblOS"
Me.lblOS.Size = New System.Drawing.Size(25, 13) Me.lblOS.Size = New System.Drawing.Size(25, 13)
Me.lblOS.TabIndex = 9 Me.lblOS.TabIndex = 14
Me.lblOS.Text = "OS:" Me.lblOS.Text = "OS:"
' '
'cboOS 'cboOS
' '
Me.cboOS.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList Me.cboOS.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
Me.cboOS.FormattingEnabled = True Me.cboOS.FormattingEnabled = True
Me.cboOS.Location = New System.Drawing.Point(394, 71) Me.cboOS.Location = New System.Drawing.Point(70, 169)
Me.cboOS.Name = "cboOS" Me.cboOS.Name = "cboOS"
Me.cboOS.Size = New System.Drawing.Size(126, 21) Me.cboOS.Size = New System.Drawing.Size(115, 21)
Me.cboOS.TabIndex = 10 Me.cboOS.TabIndex = 15
' '
'chkRecurseSubFolders 'chkRecurseSubFolders
' '
@@ -252,26 +254,26 @@ Partial Class frmGameManager
'lblComments 'lblComments
' '
Me.lblComments.AutoSize = True Me.lblComments.AutoSize = True
Me.lblComments.Location = New System.Drawing.Point(7, 181) Me.lblComments.Location = New System.Drawing.Point(7, 128)
Me.lblComments.Name = "lblComments" Me.lblComments.Name = "lblComments"
Me.lblComments.Size = New System.Drawing.Size(59, 13) Me.lblComments.Size = New System.Drawing.Size(59, 13)
Me.lblComments.TabIndex = 21 Me.lblComments.TabIndex = 12
Me.lblComments.Text = "Comments:" Me.lblComments.Text = "Comments:"
' '
'txtComments 'txtComments
' '
Me.txtComments.Location = New System.Drawing.Point(70, 181) Me.txtComments.Location = New System.Drawing.Point(70, 123)
Me.txtComments.Multiline = True Me.txtComments.Multiline = True
Me.txtComments.Name = "txtComments" Me.txtComments.Name = "txtComments"
Me.txtComments.ScrollBars = System.Windows.Forms.ScrollBars.Vertical Me.txtComments.ScrollBars = System.Windows.Forms.ScrollBars.Vertical
Me.txtComments.Size = New System.Drawing.Size(413, 71) Me.txtComments.Size = New System.Drawing.Size(414, 40)
Me.txtComments.TabIndex = 22 Me.txtComments.TabIndex = 13
' '
'txtParameter 'txtParameter
' '
Me.txtParameter.Location = New System.Drawing.Point(70, 71) Me.txtParameter.Location = New System.Drawing.Point(70, 71)
Me.txtParameter.Name = "txtParameter" Me.txtParameter.Name = "txtParameter"
Me.txtParameter.Size = New System.Drawing.Size(290, 20) Me.txtParameter.Size = New System.Drawing.Size(414, 20)
Me.txtParameter.TabIndex = 8 Me.txtParameter.TabIndex = 8
' '
'lblParameter 'lblParameter
@@ -286,46 +288,46 @@ Partial Class frmGameManager
'chkCleanFolder 'chkCleanFolder
' '
Me.chkCleanFolder.AutoSize = True Me.chkCleanFolder.AutoSize = True
Me.chkCleanFolder.Location = New System.Drawing.Point(330, 127) Me.chkCleanFolder.Location = New System.Drawing.Point(330, 200)
Me.chkCleanFolder.Name = "chkCleanFolder" Me.chkCleanFolder.Name = "chkCleanFolder"
Me.chkCleanFolder.Size = New System.Drawing.Size(136, 17) Me.chkCleanFolder.Size = New System.Drawing.Size(136, 17)
Me.chkCleanFolder.TabIndex = 16 Me.chkCleanFolder.TabIndex = 19
Me.chkCleanFolder.Text = "Delete folder on restore" Me.chkCleanFolder.Text = "Delete folder on restore"
Me.chkCleanFolder.UseVisualStyleBackColor = True Me.chkCleanFolder.UseVisualStyleBackColor = True
' '
'lblLimit 'lblLimit
' '
Me.lblLimit.AutoSize = True Me.lblLimit.AutoSize = True
Me.lblLimit.Location = New System.Drawing.Point(376, 157) Me.lblLimit.Location = New System.Drawing.Point(376, 229)
Me.lblLimit.Name = "lblLimit" Me.lblLimit.Name = "lblLimit"
Me.lblLimit.Size = New System.Drawing.Size(68, 13) Me.lblLimit.Size = New System.Drawing.Size(68, 13)
Me.lblLimit.TabIndex = 20 Me.lblLimit.TabIndex = 23
Me.lblLimit.Text = "Backup Limit" Me.lblLimit.Text = "Backup Limit"
Me.lblLimit.Visible = False Me.lblLimit.Visible = False
' '
'nudLimit 'nudLimit
' '
Me.nudLimit.Location = New System.Drawing.Point(330, 155) Me.nudLimit.Location = New System.Drawing.Point(330, 227)
Me.nudLimit.Name = "nudLimit" Me.nudLimit.Name = "nudLimit"
Me.nudLimit.Size = New System.Drawing.Size(40, 20) Me.nudLimit.Size = New System.Drawing.Size(40, 20)
Me.nudLimit.TabIndex = 19 Me.nudLimit.TabIndex = 22
Me.nudLimit.Visible = False Me.nudLimit.Visible = False
' '
'btnExclude 'btnExclude
' '
Me.btnExclude.Location = New System.Drawing.Point(10, 152) Me.btnExclude.Location = New System.Drawing.Point(10, 224)
Me.btnExclude.Name = "btnExclude" Me.btnExclude.Name = "btnExclude"
Me.btnExclude.Size = New System.Drawing.Size(175, 23) Me.btnExclude.Size = New System.Drawing.Size(175, 23)
Me.btnExclude.TabIndex = 17 Me.btnExclude.TabIndex = 20
Me.btnExclude.Text = "E&xclude Items..." Me.btnExclude.Text = "E&xclude Items..."
Me.btnExclude.UseVisualStyleBackColor = True Me.btnExclude.UseVisualStyleBackColor = True
' '
'btnInclude 'btnInclude
' '
Me.btnInclude.Location = New System.Drawing.Point(10, 123) Me.btnInclude.Location = New System.Drawing.Point(10, 196)
Me.btnInclude.Name = "btnInclude" Me.btnInclude.Name = "btnInclude"
Me.btnInclude.Size = New System.Drawing.Size(175, 23) Me.btnInclude.Size = New System.Drawing.Size(175, 23)
Me.btnInclude.TabIndex = 14 Me.btnInclude.TabIndex = 17
Me.btnInclude.Text = "Incl&ude Items..." Me.btnInclude.Text = "Incl&ude Items..."
Me.btnInclude.UseVisualStyleBackColor = True Me.btnInclude.UseVisualStyleBackColor = True
' '
@@ -344,7 +346,7 @@ Partial Class frmGameManager
Me.btnSavePathBrowse.Location = New System.Drawing.Point(490, 97) Me.btnSavePathBrowse.Location = New System.Drawing.Point(490, 97)
Me.btnSavePathBrowse.Name = "btnSavePathBrowse" Me.btnSavePathBrowse.Name = "btnSavePathBrowse"
Me.btnSavePathBrowse.Size = New System.Drawing.Size(30, 20) Me.btnSavePathBrowse.Size = New System.Drawing.Size(30, 20)
Me.btnSavePathBrowse.TabIndex = 13 Me.btnSavePathBrowse.TabIndex = 11
Me.btnSavePathBrowse.Text = "..." Me.btnSavePathBrowse.Text = "..."
Me.btnSavePathBrowse.UseVisualStyleBackColor = True Me.btnSavePathBrowse.UseVisualStyleBackColor = True
' '
@@ -363,7 +365,7 @@ Partial Class frmGameManager
Me.lblSavePath.Location = New System.Drawing.Point(7, 101) Me.lblSavePath.Location = New System.Drawing.Point(7, 101)
Me.lblSavePath.Name = "lblSavePath" Me.lblSavePath.Name = "lblSavePath"
Me.lblSavePath.Size = New System.Drawing.Size(60, 13) Me.lblSavePath.Size = New System.Drawing.Size(60, 13)
Me.lblSavePath.TabIndex = 11 Me.lblSavePath.TabIndex = 9
Me.lblSavePath.Text = "Save Path:" Me.lblSavePath.Text = "Save Path:"
' '
'lblProcess 'lblProcess
@@ -405,20 +407,20 @@ Partial Class frmGameManager
'chkTimeStamp 'chkTimeStamp
' '
Me.chkTimeStamp.AutoSize = True Me.chkTimeStamp.AutoSize = True
Me.chkTimeStamp.Location = New System.Drawing.Point(191, 156) Me.chkTimeStamp.Location = New System.Drawing.Point(191, 228)
Me.chkTimeStamp.Name = "chkTimeStamp" Me.chkTimeStamp.Name = "chkTimeStamp"
Me.chkTimeStamp.Size = New System.Drawing.Size(133, 17) Me.chkTimeStamp.Size = New System.Drawing.Size(133, 17)
Me.chkTimeStamp.TabIndex = 18 Me.chkTimeStamp.TabIndex = 21
Me.chkTimeStamp.Text = "Save multiple backups" Me.chkTimeStamp.Text = "Save multiple backups"
Me.chkTimeStamp.UseVisualStyleBackColor = True Me.chkTimeStamp.UseVisualStyleBackColor = True
' '
'chkFolderSave 'chkFolderSave
' '
Me.chkFolderSave.AutoSize = True Me.chkFolderSave.AutoSize = True
Me.chkFolderSave.Location = New System.Drawing.Point(191, 127) Me.chkFolderSave.Location = New System.Drawing.Point(191, 200)
Me.chkFolderSave.Name = "chkFolderSave" Me.chkFolderSave.Name = "chkFolderSave"
Me.chkFolderSave.Size = New System.Drawing.Size(109, 17) Me.chkFolderSave.Size = New System.Drawing.Size(109, 17)
Me.chkFolderSave.TabIndex = 15 Me.chkFolderSave.TabIndex = 18
Me.chkFolderSave.Text = "Save entire folder" Me.chkFolderSave.Text = "Save entire folder"
Me.chkFolderSave.UseVisualStyleBackColor = True Me.chkFolderSave.UseVisualStyleBackColor = True
' '
@@ -427,7 +429,7 @@ Partial Class frmGameManager
Me.txtSavePath.Location = New System.Drawing.Point(70, 97) Me.txtSavePath.Location = New System.Drawing.Point(70, 97)
Me.txtSavePath.Name = "txtSavePath" Me.txtSavePath.Name = "txtSavePath"
Me.txtSavePath.Size = New System.Drawing.Size(414, 20) Me.txtSavePath.Size = New System.Drawing.Size(414, 20)
Me.txtSavePath.TabIndex = 12 Me.txtSavePath.TabIndex = 10
' '
'txtProcess 'txtProcess
' '
@@ -961,6 +963,15 @@ Partial Class frmGameManager
Me.ttFullPath.InitialDelay = 300 Me.ttFullPath.InitialDelay = 300
Me.ttFullPath.ReshowDelay = 60 Me.ttFullPath.ReshowDelay = 60
' '
'btnAdvancedConfig
'
Me.btnAdvancedConfig.Location = New System.Drawing.Point(191, 167)
Me.btnAdvancedConfig.Name = "btnAdvancedConfig"
Me.btnAdvancedConfig.Size = New System.Drawing.Size(175, 23)
Me.btnAdvancedConfig.TabIndex = 16
Me.btnAdvancedConfig.Text = "&Advanced Configuration..."
Me.btnAdvancedConfig.UseVisualStyleBackColor = True
'
'frmGameManager 'frmGameManager
' '
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
@@ -1098,4 +1109,5 @@ Partial Class frmGameManager
Friend WithEvents chkRecurseSubFolders As CheckBox Friend WithEvents chkRecurseSubFolders As CheckBox
Friend WithEvents lblOS As Label Friend WithEvents lblOS As Label
Friend WithEvents cboOS As ComboBox Friend WithEvents cboOS As ComboBox
Friend WithEvents btnAdvancedConfig As Button
End Class End Class
+5 -1
View File
@@ -1821,6 +1821,7 @@ Public Class frmGameManager
btnImportBackup.Text = frmGameManager_btnImportBackup btnImportBackup.Text = frmGameManager_btnImportBackup
btnProcesses.Text = frmGameManager_btnProcesses btnProcesses.Text = frmGameManager_btnProcesses
lblOS.Text = frmGameManager_lblOS lblOS.Text = frmGameManager_lblOS
btnAdvancedConfig.Text = frmGameManager_btnAdvancedConfig
'Init Combos 'Init Combos
Dim oComboItems As New List(Of KeyValuePair(Of Integer, String)) Dim oComboItems As New List(Of KeyValuePair(Of Integer, String))
@@ -1834,7 +1835,10 @@ Public Class frmGameManager
cboOS.DataSource = oComboItems cboOS.DataSource = oComboItems
If Not mgrCommon.IsUnix Then cboOS.Enabled = False If Not mgrCommon.IsUnix Then
cboOS.Enabled = False
btnAdvancedConfig.Enabled = False
End If
'Init Official Import Menu 'Init Official Import Menu
If mgrCommon.IsUnix Then If mgrCommon.IsUnix Then
+9
View File
@@ -1482,6 +1482,15 @@ Namespace My.Resources
End Get End Get
End Property End Property
'''<summary>
''' Looks up a localized string similar to &amp;Advanced Configuration....
'''</summary>
Friend ReadOnly Property frmGameManager_btnAdvancedConfig() As String
Get
Return ResourceManager.GetString("frmGameManager_btnAdvancedConfig", resourceCulture)
End Get
End Property
'''<summary> '''<summary>
''' Looks up a localized string similar to .... ''' Looks up a localized string similar to ....
'''</summary> '''</summary>
+3
View File
@@ -2290,4 +2290,7 @@
<data name="frmGameManager_lblOS" xml:space="preserve"> <data name="frmGameManager_lblOS" xml:space="preserve">
<value>OS:</value> <value>OS:</value>
</data> </data>
<data name="frmGameManager_btnAdvancedConfig" xml:space="preserve">
<value>&amp;Advanced Configuration...</value>
</data>
</root> </root>