diff --git a/Installer/Output/dt_setup.exe b/Installer/Output/dt_setup.exe index 9f04596a..2d758018 100644 Binary files a/Installer/Output/dt_setup.exe and b/Installer/Output/dt_setup.exe differ diff --git a/MainForm.Designer.vb b/MainForm.Designer.vb index b2aa683d..2bafafe5 100644 --- a/MainForm.Designer.vb +++ b/MainForm.Designer.vb @@ -225,6 +225,17 @@ Partial Class MainForm Me.Label9 = New System.Windows.Forms.Label() Me.LinkLabel25 = New System.Windows.Forms.LinkLabel() Me.TutorialVideoPanel = New System.Windows.Forms.Panel() + Me.VideoContainer = New System.Windows.Forms.Panel() + Me.VideosPanel = New System.Windows.Forms.Panel() + Me.ListView2 = New System.Windows.Forms.ListView() + Me.ColumnHeader4 = CType(New System.Windows.Forms.ColumnHeader(), System.Windows.Forms.ColumnHeader) + Me.ColumnHeader5 = CType(New System.Windows.Forms.ColumnHeader(), System.Windows.Forms.ColumnHeader) + Me.VideoErrorPanel = New System.Windows.Forms.Panel() + Me.Button17 = New System.Windows.Forms.Button() + Me.TextBox2 = New System.Windows.Forms.TextBox() + Me.Label6 = New System.Windows.Forms.Label() + Me.Label7 = New System.Windows.Forms.Label() + Me.Label11 = New System.Windows.Forms.Label() Me.Panel1 = New System.Windows.Forms.Panel() Me.FlowLayoutPanel2 = New System.Windows.Forms.FlowLayoutPanel() Me.LinkLabel22 = New System.Windows.Forms.LinkLabel() @@ -501,17 +512,6 @@ Partial Class MainForm Me.Timer2 = New System.Windows.Forms.Timer(Me.components) Me.WatcherBW = New System.ComponentModel.BackgroundWorker() Me.WatcherTimer = New System.Windows.Forms.Timer(Me.components) - Me.VideoContainer = New System.Windows.Forms.Panel() - Me.VideosPanel = New System.Windows.Forms.Panel() - Me.ListView2 = New System.Windows.Forms.ListView() - Me.ColumnHeader4 = CType(New System.Windows.Forms.ColumnHeader(), System.Windows.Forms.ColumnHeader) - Me.ColumnHeader5 = CType(New System.Windows.Forms.ColumnHeader(), System.Windows.Forms.ColumnHeader) - Me.VideoErrorPanel = New System.Windows.Forms.Panel() - Me.Button17 = New System.Windows.Forms.Button() - Me.TextBox2 = New System.Windows.Forms.TextBox() - Me.Label6 = New System.Windows.Forms.Label() - Me.Label7 = New System.Windows.Forms.Label() - Me.Label11 = New System.Windows.Forms.Label() Me.MenuStrip1.SuspendLayout() Me.HomePanel.SuspendLayout() Me.WelcomePanel.SuspendLayout() @@ -529,6 +529,9 @@ Partial Class MainForm Me.FeedErrorPanel.SuspendLayout() Me.Panel4.SuspendLayout() Me.TutorialVideoPanel.SuspendLayout() + Me.VideoContainer.SuspendLayout() + Me.VideosPanel.SuspendLayout() + Me.VideoErrorPanel.SuspendLayout() Me.Panel1.SuspendLayout() Me.FlowLayoutPanel2.SuspendLayout() Me.SidePanel.SuspendLayout() @@ -602,9 +605,6 @@ Partial Class MainForm Me.TreeViewCMS.SuspendLayout() Me.AppxResCMS.SuspendLayout() Me.AppxRelatedLinksCMS.SuspendLayout() - Me.VideoContainer.SuspendLayout() - Me.VideosPanel.SuspendLayout() - Me.VideoErrorPanel.SuspendLayout() Me.SuspendLayout() ' 'MenuStrip1 @@ -2032,6 +2032,121 @@ Partial Class MainForm Me.TutorialVideoPanel.TabIndex = 0 Me.TutorialVideoPanel.Visible = False ' + 'VideoContainer + ' + Me.VideoContainer.Controls.Add(Me.VideosPanel) + Me.VideoContainer.Controls.Add(Me.VideoErrorPanel) + Me.VideoContainer.Dock = System.Windows.Forms.DockStyle.Fill + Me.VideoContainer.Location = New System.Drawing.Point(0, 0) + Me.VideoContainer.Name = "VideoContainer" + Me.VideoContainer.Size = New System.Drawing.Size(1008, 619) + Me.VideoContainer.TabIndex = 2 + ' + 'VideosPanel + ' + Me.VideosPanel.Controls.Add(Me.ListView2) + Me.VideosPanel.Dock = System.Windows.Forms.DockStyle.Fill + Me.VideosPanel.Location = New System.Drawing.Point(0, 0) + Me.VideosPanel.Name = "VideosPanel" + Me.VideosPanel.Padding = New System.Windows.Forms.Padding(8) + Me.VideosPanel.Size = New System.Drawing.Size(1008, 619) + Me.VideosPanel.TabIndex = 1 + ' + 'ListView2 + ' + Me.ListView2.BorderStyle = System.Windows.Forms.BorderStyle.None + Me.ListView2.Columns.AddRange(New System.Windows.Forms.ColumnHeader() {Me.ColumnHeader4, Me.ColumnHeader5}) + Me.ListView2.Dock = System.Windows.Forms.DockStyle.Fill + Me.ListView2.FullRowSelect = True + Me.ListView2.Location = New System.Drawing.Point(8, 8) + Me.ListView2.MultiSelect = False + Me.ListView2.Name = "ListView2" + Me.ListView2.Size = New System.Drawing.Size(992, 603) + Me.ListView2.TabIndex = 0 + Me.ListView2.UseCompatibleStateImageBehavior = False + Me.ListView2.View = System.Windows.Forms.View.Details + ' + 'ColumnHeader4 + ' + Me.ColumnHeader4.Text = "Name" + Me.ColumnHeader4.Width = 375 + ' + 'ColumnHeader5 + ' + Me.ColumnHeader5.Text = "Description" + Me.ColumnHeader5.Width = 592 + ' + 'VideoErrorPanel + ' + Me.VideoErrorPanel.Controls.Add(Me.Button17) + Me.VideoErrorPanel.Controls.Add(Me.TextBox2) + Me.VideoErrorPanel.Controls.Add(Me.Label6) + Me.VideoErrorPanel.Controls.Add(Me.Label7) + Me.VideoErrorPanel.Controls.Add(Me.Label11) + Me.VideoErrorPanel.Dock = System.Windows.Forms.DockStyle.Fill + Me.VideoErrorPanel.Location = New System.Drawing.Point(0, 0) + Me.VideoErrorPanel.Name = "VideoErrorPanel" + Me.VideoErrorPanel.Size = New System.Drawing.Size(1008, 619) + Me.VideoErrorPanel.TabIndex = 0 + ' + 'Button17 + ' + Me.Button17.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) + Me.Button17.FlatStyle = System.Windows.Forms.FlatStyle.System + Me.Button17.Location = New System.Drawing.Point(880, 385) + Me.Button17.Name = "Button17" + Me.Button17.Size = New System.Drawing.Size(114, 23) + Me.Button17.TabIndex = 2 + Me.Button17.Text = "Try again" + Me.Button17.UseVisualStyleBackColor = True + ' + 'TextBox2 + ' + Me.TextBox2.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _ + Or System.Windows.Forms.AnchorStyles.Left) _ + Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) + Me.TextBox2.Font = New System.Drawing.Font("Courier New", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) + Me.TextBox2.Location = New System.Drawing.Point(18, 78) + Me.TextBox2.Multiline = True + Me.TextBox2.Name = "TextBox2" + Me.TextBox2.ReadOnly = True + Me.TextBox2.ScrollBars = System.Windows.Forms.ScrollBars.Vertical + Me.TextBox2.Size = New System.Drawing.Size(972, 300) + Me.TextBox2.TabIndex = 1 + ' + 'Label6 + ' + Me.Label6.Anchor = CType(((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left) _ + Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) + Me.Label6.AutoEllipsis = True + Me.Label6.Font = New System.Drawing.Font("Segoe UI", 9.0!) + Me.Label6.Location = New System.Drawing.Point(14, 411) + Me.Label6.Name = "Label6" + Me.Label6.Size = New System.Drawing.Size(978, 49) + Me.Label6.TabIndex = 0 + Me.Label6.Text = "Try connecting your system to the network. If your system is connected to the net" & _ + "work but this error still appears, check whether you can access websites." + ' + 'Label7 + ' + Me.Label7.AutoSize = True + Me.Label7.Font = New System.Drawing.Font("Segoe UI", 9.0!) + Me.Label7.Location = New System.Drawing.Point(14, 55) + Me.Label7.Name = "Label7" + Me.Label7.Size = New System.Drawing.Size(101, 15) + Me.Label7.TabIndex = 0 + Me.Label7.Text = "Error information:" + ' + 'Label11 + ' + Me.Label11.AutoSize = True + Me.Label11.Font = New System.Drawing.Font("Segoe UI", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) + Me.Label11.Location = New System.Drawing.Point(12, 12) + Me.Label11.Name = "Label11" + Me.Label11.Size = New System.Drawing.Size(305, 30) + Me.Label11.TabIndex = 0 + Me.Label11.Text = "We couldn't get the latest news" + ' 'Panel1 ' Me.Panel1.Controls.Add(Me.FlowLayoutPanel2) @@ -3742,7 +3857,7 @@ Partial Class MainForm Me.TableLayoutPanel2.ColumnCount = 3 Me.TableLayoutPanel2.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 32.42009!)) Me.TableLayoutPanel2.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 67.57991!)) - Me.TableLayoutPanel2.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 113.0!)) + Me.TableLayoutPanel2.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 114.0!)) Me.TableLayoutPanel2.Controls.Add(Me.ProjNameEditBtn, 2, 0) Me.TableLayoutPanel2.Controls.Add(Me.LinkLabel1, 1, 3) Me.TableLayoutPanel2.Controls.Add(Me.Panel8, 1, 0) @@ -3777,9 +3892,9 @@ Partial Class MainForm Me.LinkLabel1.Dock = System.Windows.Forms.DockStyle.Fill Me.LinkLabel1.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline Me.LinkLabel1.LinkColor = System.Drawing.Color.DodgerBlue - Me.LinkLabel1.Location = New System.Drawing.Point(61, 146) + Me.LinkLabel1.Location = New System.Drawing.Point(60, 146) Me.LinkLabel1.Name = "LinkLabel1" - Me.LinkLabel1.Size = New System.Drawing.Size(228, 254) + Me.LinkLabel1.Size = New System.Drawing.Size(229, 254) Me.LinkLabel1.TabIndex = 5 Me.LinkLabel1.TabStop = True Me.LinkLabel1.Text = "Click here to mount an image" @@ -3789,7 +3904,7 @@ Partial Class MainForm Me.Panel8.Controls.Add(Me.projName) Me.Panel8.Controls.Add(Me.projNameText) Me.Panel8.Dock = System.Windows.Forms.DockStyle.Fill - Me.Panel8.Location = New System.Drawing.Point(61, 3) + Me.Panel8.Location = New System.Drawing.Point(60, 3) Me.Panel8.Name = "Panel8" Me.Panel8.Size = New System.Drawing.Size(114, 23) Me.Panel8.TabIndex = 8 @@ -3821,9 +3936,9 @@ Partial Class MainForm Me.Label5.AutoSize = True Me.TableLayoutPanel2.SetColumnSpan(Me.Label5, 2) Me.Label5.Dock = System.Windows.Forms.DockStyle.Fill - Me.Label5.Location = New System.Drawing.Point(61, 131) + Me.Label5.Location = New System.Drawing.Point(60, 131) Me.Label5.Name = "Label5" - Me.Label5.Size = New System.Drawing.Size(228, 15) + Me.Label5.Size = New System.Drawing.Size(229, 15) Me.Label5.TabIndex = 2 Me.Label5.Text = "imgStatus" ' @@ -3833,7 +3948,7 @@ Partial Class MainForm Me.Label2.Dock = System.Windows.Forms.DockStyle.Fill Me.Label2.Location = New System.Drawing.Point(3, 29) Me.Label2.Name = "Label2" - Me.Label2.Size = New System.Drawing.Size(52, 102) + Me.Label2.Size = New System.Drawing.Size(51, 102) Me.Label2.TabIndex = 1 Me.Label2.Text = "Location:" Me.Label2.TextAlign = System.Drawing.ContentAlignment.TopRight @@ -3843,9 +3958,9 @@ Partial Class MainForm Me.Label3.AutoEllipsis = True Me.TableLayoutPanel2.SetColumnSpan(Me.Label3, 2) Me.Label3.Dock = System.Windows.Forms.DockStyle.Fill - Me.Label3.Location = New System.Drawing.Point(61, 29) + Me.Label3.Location = New System.Drawing.Point(60, 29) Me.Label3.Name = "Label3" - Me.Label3.Size = New System.Drawing.Size(228, 102) + Me.Label3.Size = New System.Drawing.Size(229, 102) Me.Label3.TabIndex = 2 Me.Label3.Text = "projPath" ' @@ -3856,7 +3971,7 @@ Partial Class MainForm Me.Label4.Location = New System.Drawing.Point(3, 131) Me.Label4.Name = "Label4" Me.TableLayoutPanel2.SetRowSpan(Me.Label4, 2) - Me.Label4.Size = New System.Drawing.Size(52, 269) + Me.Label4.Size = New System.Drawing.Size(51, 269) Me.Label4.TabIndex = 1 Me.Label4.Text = "Images mounted?" Me.Label4.TextAlign = System.Drawing.ContentAlignment.TopRight @@ -3867,7 +3982,7 @@ Partial Class MainForm Me.Panel9.Dock = System.Windows.Forms.DockStyle.Fill Me.Panel9.Location = New System.Drawing.Point(3, 3) Me.Panel9.Name = "Panel9" - Me.Panel9.Size = New System.Drawing.Size(52, 23) + Me.Panel9.Size = New System.Drawing.Size(51, 23) Me.Panel9.TabIndex = 9 ' 'Label1 @@ -3875,7 +3990,7 @@ Partial Class MainForm Me.Label1.Dock = System.Windows.Forms.DockStyle.Fill Me.Label1.Location = New System.Drawing.Point(0, 0) Me.Label1.Name = "Label1" - Me.Label1.Size = New System.Drawing.Size(52, 23) + Me.Label1.Size = New System.Drawing.Size(51, 23) Me.Label1.TabIndex = 1 Me.Label1.Text = "Name:" Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight @@ -4951,121 +5066,6 @@ Partial Class MainForm ' Me.WatcherTimer.Interval = 1000 ' - 'VideoContainer - ' - Me.VideoContainer.Controls.Add(Me.VideosPanel) - Me.VideoContainer.Controls.Add(Me.VideoErrorPanel) - Me.VideoContainer.Dock = System.Windows.Forms.DockStyle.Fill - Me.VideoContainer.Location = New System.Drawing.Point(0, 0) - Me.VideoContainer.Name = "VideoContainer" - Me.VideoContainer.Size = New System.Drawing.Size(1008, 619) - Me.VideoContainer.TabIndex = 2 - ' - 'VideosPanel - ' - Me.VideosPanel.Controls.Add(Me.ListView2) - Me.VideosPanel.Dock = System.Windows.Forms.DockStyle.Fill - Me.VideosPanel.Location = New System.Drawing.Point(0, 0) - Me.VideosPanel.Name = "VideosPanel" - Me.VideosPanel.Padding = New System.Windows.Forms.Padding(8) - Me.VideosPanel.Size = New System.Drawing.Size(1008, 619) - Me.VideosPanel.TabIndex = 1 - ' - 'ListView2 - ' - Me.ListView2.BorderStyle = System.Windows.Forms.BorderStyle.None - Me.ListView2.Columns.AddRange(New System.Windows.Forms.ColumnHeader() {Me.ColumnHeader4, Me.ColumnHeader5}) - Me.ListView2.Dock = System.Windows.Forms.DockStyle.Fill - Me.ListView2.FullRowSelect = True - Me.ListView2.Location = New System.Drawing.Point(8, 8) - Me.ListView2.MultiSelect = False - Me.ListView2.Name = "ListView2" - Me.ListView2.Size = New System.Drawing.Size(992, 603) - Me.ListView2.TabIndex = 0 - Me.ListView2.UseCompatibleStateImageBehavior = False - Me.ListView2.View = System.Windows.Forms.View.Details - ' - 'ColumnHeader4 - ' - Me.ColumnHeader4.Text = "Name" - Me.ColumnHeader4.Width = 375 - ' - 'ColumnHeader5 - ' - Me.ColumnHeader5.Text = "Description" - Me.ColumnHeader5.Width = 592 - ' - 'VideoErrorPanel - ' - Me.VideoErrorPanel.Controls.Add(Me.Button17) - Me.VideoErrorPanel.Controls.Add(Me.TextBox2) - Me.VideoErrorPanel.Controls.Add(Me.Label6) - Me.VideoErrorPanel.Controls.Add(Me.Label7) - Me.VideoErrorPanel.Controls.Add(Me.Label11) - Me.VideoErrorPanel.Dock = System.Windows.Forms.DockStyle.Fill - Me.VideoErrorPanel.Location = New System.Drawing.Point(0, 0) - Me.VideoErrorPanel.Name = "VideoErrorPanel" - Me.VideoErrorPanel.Size = New System.Drawing.Size(1008, 619) - Me.VideoErrorPanel.TabIndex = 0 - ' - 'Button17 - ' - Me.Button17.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) - Me.Button17.FlatStyle = System.Windows.Forms.FlatStyle.System - Me.Button17.Location = New System.Drawing.Point(880, 385) - Me.Button17.Name = "Button17" - Me.Button17.Size = New System.Drawing.Size(114, 23) - Me.Button17.TabIndex = 2 - Me.Button17.Text = "Try again" - Me.Button17.UseVisualStyleBackColor = True - ' - 'TextBox2 - ' - Me.TextBox2.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _ - Or System.Windows.Forms.AnchorStyles.Left) _ - Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) - Me.TextBox2.Font = New System.Drawing.Font("Courier New", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.TextBox2.Location = New System.Drawing.Point(18, 78) - Me.TextBox2.Multiline = True - Me.TextBox2.Name = "TextBox2" - Me.TextBox2.ReadOnly = True - Me.TextBox2.ScrollBars = System.Windows.Forms.ScrollBars.Vertical - Me.TextBox2.Size = New System.Drawing.Size(972, 300) - Me.TextBox2.TabIndex = 1 - ' - 'Label6 - ' - Me.Label6.Anchor = CType(((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left) _ - Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) - Me.Label6.AutoEllipsis = True - Me.Label6.Font = New System.Drawing.Font("Segoe UI", 9.0!) - Me.Label6.Location = New System.Drawing.Point(14, 411) - Me.Label6.Name = "Label6" - Me.Label6.Size = New System.Drawing.Size(978, 49) - Me.Label6.TabIndex = 0 - Me.Label6.Text = "Try connecting your system to the network. If your system is connected to the net" & _ - "work but this error still appears, check whether you can access websites." - ' - 'Label7 - ' - Me.Label7.AutoSize = True - Me.Label7.Font = New System.Drawing.Font("Segoe UI", 9.0!) - Me.Label7.Location = New System.Drawing.Point(14, 55) - Me.Label7.Name = "Label7" - Me.Label7.Size = New System.Drawing.Size(101, 15) - Me.Label7.TabIndex = 0 - Me.Label7.Text = "Error information:" - ' - 'Label11 - ' - Me.Label11.AutoSize = True - Me.Label11.Font = New System.Drawing.Font("Segoe UI", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.Label11.Location = New System.Drawing.Point(12, 12) - Me.Label11.Name = "Label11" - Me.Label11.Size = New System.Drawing.Size(305, 30) - Me.Label11.TabIndex = 0 - Me.Label11.Text = "We couldn't get the latest news" - ' 'MainForm ' Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) @@ -5076,6 +5076,7 @@ Partial Class MainForm Me.Controls.Add(Me.MenuStrip1) Me.Font = New System.Drawing.Font("Tahoma", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon) + Me.KeyPreview = True Me.MaximumSize = New System.Drawing.Size(4096, 4096) Me.MinimumSize = New System.Drawing.Size(1280, 718) Me.Name = "MainForm" @@ -5101,6 +5102,10 @@ Partial Class MainForm Me.FeedErrorPanel.PerformLayout() Me.Panel4.ResumeLayout(False) Me.TutorialVideoPanel.ResumeLayout(False) + Me.VideoContainer.ResumeLayout(False) + Me.VideosPanel.ResumeLayout(False) + Me.VideoErrorPanel.ResumeLayout(False) + Me.VideoErrorPanel.PerformLayout() Me.Panel1.ResumeLayout(False) Me.FlowLayoutPanel2.ResumeLayout(False) Me.FlowLayoutPanel2.PerformLayout() @@ -5193,10 +5198,6 @@ Partial Class MainForm Me.TreeViewCMS.ResumeLayout(False) Me.AppxResCMS.ResumeLayout(False) Me.AppxRelatedLinksCMS.ResumeLayout(False) - Me.VideoContainer.ResumeLayout(False) - Me.VideosPanel.ResumeLayout(False) - Me.VideoErrorPanel.ResumeLayout(False) - Me.VideoErrorPanel.PerformLayout() Me.ResumeLayout(False) Me.PerformLayout() diff --git a/MainForm.vb b/MainForm.vb index 58ff03a0..15658b9c 100644 --- a/MainForm.vb +++ b/MainForm.vb @@ -17257,4 +17257,14 @@ Public Class MainForm VideoList(ListView2.FocusedItem.Index).VideoName, VideoList(ListView2.FocusedItem.Index).VideoDesc) End Sub + + Private Sub MainForm_KeyDown(sender As Object, e As KeyEventArgs) Handles MyBase.KeyDown + ' Alt-B (Background process panel) + If e.KeyCode = Keys.B And e.Alt Then + If Not HomePanel.Visible Then + BackgroundProcessesButton.PerformClick() + Focus() + End If + End If + End Sub End Class \ No newline at end of file