diff --git a/GBM/Forms/frmSettings.Designer.vb b/GBM/Forms/frmSettings.Designer.vb index 17af7cb..ce6c79d 100644 --- a/GBM/Forms/frmSettings.Designer.vb +++ b/GBM/Forms/frmSettings.Designer.vb @@ -1,9 +1,9 @@ - _ + Partial Class frmSettings Inherits System.Windows.Forms.Form 'Form overrides dispose to clean up the component list. - _ + Protected Overrides Sub Dispose(ByVal disposing As Boolean) Try If disposing AndAlso components IsNot Nothing Then @@ -20,7 +20,7 @@ Partial Class frmSettings 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. - _ + Private Sub InitializeComponent() Me.chkAutoSaveLog = New System.Windows.Forms.CheckBox() Me.btnOptionalFields = New System.Windows.Forms.Button() @@ -47,6 +47,7 @@ Partial Class frmSettings Me.btnDefaults = New System.Windows.Forms.Button() Me.pnlBackup = New System.Windows.Forms.Panel() Me.grpBackupConfirmations = New System.Windows.Forms.GroupBox() + Me.chkDisableDiskSpaceCheck = New System.Windows.Forms.CheckBox() Me.chkBackupConfirm = New System.Windows.Forms.CheckBox() Me.chkOverwriteWarning = New System.Windows.Forms.CheckBox() Me.grpBackupHandling = New System.Windows.Forms.GroupBox() @@ -74,7 +75,11 @@ Partial Class frmSettings Me.chkAutoStart = New System.Windows.Forms.CheckBox() Me.chkStartMinimized = New System.Windows.Forms.CheckBox() Me.chkMonitorOnStartup = New System.Windows.Forms.CheckBox() - Me.chkDisableDiskSpaceCheck = New System.Windows.Forms.CheckBox() + Me.pnlInterface = New System.Windows.Forms.Panel() + Me.grpInterfaceOptions = New System.Windows.Forms.GroupBox() + Me.lblThemeSelection = New System.Windows.Forms.Label() + Me.cmbThemeSelection = New System.Windows.Forms.ComboBox() + Me.chkAutoHideOutput = New System.Windows.Forms.CheckBox() Me.grpFolderOptions.SuspendLayout() Me.grp7zGeneral.SuspendLayout() Me.pnlBackup.SuspendLayout() @@ -90,6 +95,8 @@ Partial Class frmSettings Me.grpGameData.SuspendLayout() Me.pnlStartup.SuspendLayout() Me.grpStartup.SuspendLayout() + Me.pnlInterface.SuspendLayout() + Me.grpInterfaceOptions.SuspendLayout() Me.SuspendLayout() ' 'chkAutoSaveLog @@ -329,6 +336,16 @@ Partial Class frmSettings Me.grpBackupConfirmations.TabStop = False Me.grpBackupConfirmations.Text = "Backup Confirmations" ' + 'chkDisableDiskSpaceCheck + ' + Me.chkDisableDiskSpaceCheck.AutoSize = True + Me.chkDisableDiskSpaceCheck.Location = New System.Drawing.Point(9, 41) + Me.chkDisableDiskSpaceCheck.Name = "chkDisableDiskSpaceCheck" + Me.chkDisableDiskSpaceCheck.Size = New System.Drawing.Size(222, 17) + Me.chkDisableDiskSpaceCheck.TabIndex = 1 + Me.chkDisableDiskSpaceCheck.Text = "Disable disk space check prior to backup" + Me.chkDisableDiskSpaceCheck.UseVisualStyleBackColor = True + ' 'chkBackupConfirm ' Me.chkBackupConfirm.AutoSize = True @@ -612,21 +629,60 @@ Partial Class frmSettings Me.chkMonitorOnStartup.Text = "Start monitoring on launch" Me.chkMonitorOnStartup.UseVisualStyleBackColor = True ' - 'chkDisableDiskSpaceCheck + 'pnlInterface ' - Me.chkDisableDiskSpaceCheck.AutoSize = True - Me.chkDisableDiskSpaceCheck.Location = New System.Drawing.Point(9, 41) - Me.chkDisableDiskSpaceCheck.Name = "chkDisableDiskSpaceCheck" - Me.chkDisableDiskSpaceCheck.Size = New System.Drawing.Size(222, 17) - Me.chkDisableDiskSpaceCheck.TabIndex = 1 - Me.chkDisableDiskSpaceCheck.Text = "Disable disk space check prior to backup" - Me.chkDisableDiskSpaceCheck.UseVisualStyleBackColor = True + Me.pnlInterface.Controls.Add(Me.grpInterfaceOptions) + Me.pnlInterface.Location = New System.Drawing.Point(180, 0) + Me.pnlInterface.Name = "pnlInterface" + Me.pnlInterface.Size = New System.Drawing.Size(367, 314) + Me.pnlInterface.TabIndex = 9 + ' + 'grpInterfaceOptions + ' + Me.grpInterfaceOptions.Controls.Add(Me.chkAutoHideOutput) + Me.grpInterfaceOptions.Controls.Add(Me.cmbThemeSelection) + Me.grpInterfaceOptions.Controls.Add(Me.lblThemeSelection) + Me.grpInterfaceOptions.Location = New System.Drawing.Point(6, 12) + Me.grpInterfaceOptions.Name = "grpInterfaceOptions" + Me.grpInterfaceOptions.Size = New System.Drawing.Size(354, 97) + Me.grpInterfaceOptions.TabIndex = 1 + Me.grpInterfaceOptions.TabStop = False + Me.grpInterfaceOptions.Text = "Interface Options" + ' + 'lblThemeSelection + ' + Me.lblThemeSelection.AutoSize = True + Me.lblThemeSelection.Location = New System.Drawing.Point(9, 27) + Me.lblThemeSelection.Name = "lblThemeSelection" + Me.lblThemeSelection.Size = New System.Drawing.Size(90, 13) + Me.lblThemeSelection.TabIndex = 0 + Me.lblThemeSelection.Text = "Theme Selection:" + ' + 'cmbThemeSelection + ' + Me.cmbThemeSelection.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList + Me.cmbThemeSelection.FormattingEnabled = True + Me.cmbThemeSelection.Location = New System.Drawing.Point(100, 23) + Me.cmbThemeSelection.Name = "cmbThemeSelection" + Me.cmbThemeSelection.Size = New System.Drawing.Size(121, 21) + Me.cmbThemeSelection.TabIndex = 1 + ' + 'chkAutoHideOutput + ' + Me.chkAutoHideOutput.AutoSize = True + Me.chkAutoHideOutput.Location = New System.Drawing.Point(12, 56) + Me.chkAutoHideOutput.Name = "chkAutoHideOutput" + Me.chkAutoHideOutput.Size = New System.Drawing.Size(183, 17) + Me.chkAutoHideOutput.TabIndex = 3 + Me.chkAutoHideOutput.Text = "Automatically hide output window" + Me.chkAutoHideOutput.UseVisualStyleBackColor = True ' 'frmSettings ' Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.ClientSize = New System.Drawing.Size(554, 361) + Me.Controls.Add(Me.pnlInterface) Me.Controls.Add(Me.pnlStartup) Me.Controls.Add(Me.pnlBackup) Me.Controls.Add(Me.pnlGeneral) @@ -668,6 +724,9 @@ Partial Class frmSettings Me.pnlStartup.ResumeLayout(False) Me.grpStartup.ResumeLayout(False) Me.grpStartup.PerformLayout() + Me.pnlInterface.ResumeLayout(False) + Me.grpInterfaceOptions.ResumeLayout(False) + Me.grpInterfaceOptions.PerformLayout() Me.ResumeLayout(False) End Sub @@ -724,4 +783,9 @@ Partial Class frmSettings Friend WithEvents grpGameMonitoringOptions As GroupBox Friend WithEvents chkShowResolvedPaths As CheckBox Friend WithEvents chkDisableDiskSpaceCheck As CheckBox + Friend WithEvents pnlInterface As Panel + Friend WithEvents grpInterfaceOptions As GroupBox + Friend WithEvents chkAutoHideOutput As CheckBox + Friend WithEvents cmbThemeSelection As ComboBox + Friend WithEvents lblThemeSelection As Label End Class diff --git a/GBM/Forms/frmSettings.vb b/GBM/Forms/frmSettings.vb index 2e3d228..7cb42e3 100644 --- a/GBM/Forms/frmSettings.vb +++ b/GBM/Forms/frmSettings.vb @@ -265,6 +265,7 @@ Public Class frmSettings oSettingsItems.Add(New KeyValuePair(Of Integer, String)(1, frmSettings_lstSettings_BackupRestore)) oSettingsItems.Add(New KeyValuePair(Of Integer, String)(2, frmSettings_lstSettings_Startup)) oSettingsItems.Add(New KeyValuePair(Of Integer, String)(3, frmSettings_lstSettings_7z)) + oSettingsItems.Add(New KeyValuePair(Of Integer, String)(4, frmSettings_lstSettings_Interface)) lstSettings.DataSource = oSettingsItems @@ -291,22 +292,32 @@ Public Class frmSettings pnlStartup.Visible = False pnlBackup.Visible = False pnl7z.Visible = False + pnlInterface.Visible = False Case 1 pnlGeneral.Visible = False pnlBackup.Visible = True pnlStartup.Visible = False pnl7z.Visible = False + pnlInterface.Visible = False Case 2 pnlGeneral.Visible = False pnlBackup.Visible = False pnlStartup.Visible = True pnl7z.Visible = False + pnlInterface.Visible = False Case 3 pnlGeneral.Visible = False pnlBackup.Visible = False pnlStartup.Visible = False pnl7z.Visible = True + pnlInterface.Visible = False + Case 4 + pnlGeneral.Visible = False + pnlBackup.Visible = False + pnlStartup.Visible = False + pnl7z.Visible = False + pnlInterface.Visible = True End Select End If End Sub diff --git a/GBM/My Project/Resources.Designer.vb b/GBM/My Project/Resources.Designer.vb index 6610227..9d70741 100644 --- a/GBM/My Project/Resources.Designer.vb +++ b/GBM/My Project/Resources.Designer.vb @@ -5064,6 +5064,15 @@ Namespace My.Resources End Get End Property + ''' + ''' Looks up a localized string similar to Interface. + ''' + Friend ReadOnly Property frmSettings_lstSettings_Interface() As String + Get + Return ResourceManager.GetString("frmSettings_lstSettings_Interface", resourceCulture) + End Get + End Property + ''' ''' Looks up a localized string similar to Startup. ''' diff --git a/GBM/My Project/Resources.resx b/GBM/My Project/Resources.resx index cc9a987..b15bf86 100644 --- a/GBM/My Project/Resources.resx +++ b/GBM/My Project/Resources.resx @@ -2398,4 +2398,7 @@ 0,0,0 + + Interface + \ No newline at end of file