Minor UI changes

This commit is contained in:
Michael J. Seiferling
2015-12-09 18:25:47 -06:00
parent 19802a5883
commit 8a359e949a
7 changed files with 83 additions and 63 deletions
+1 -1
View File
@@ -689,7 +689,7 @@ Partial Class frmGameManager
Me.optPendingRestores.Size = New System.Drawing.Size(104, 17) Me.optPendingRestores.Size = New System.Drawing.Size(104, 17)
Me.optPendingRestores.TabIndex = 2 Me.optPendingRestores.TabIndex = 2
Me.optPendingRestores.TabStop = True Me.optPendingRestores.TabStop = True
Me.optPendingRestores.Text = "Pending Restore" Me.optPendingRestores.Text = "Restore Pending"
Me.optPendingRestores.UseVisualStyleBackColor = True Me.optPendingRestores.UseVisualStyleBackColor = True
' '
'optAllGames 'optAllGames
+46 -46
View File
@@ -71,6 +71,7 @@ Partial Class frmMain
Me.gMonToolsSyncMan = New System.Windows.Forms.ToolStripMenuItem() Me.gMonToolsSyncMan = New System.Windows.Forms.ToolStripMenuItem()
Me.gMonToolsCompact = New System.Windows.Forms.ToolStripMenuItem() Me.gMonToolsCompact = New System.Windows.Forms.ToolStripMenuItem()
Me.gMonHelp = New System.Windows.Forms.ToolStripMenuItem() Me.gMonHelp = New System.Windows.Forms.ToolStripMenuItem()
Me.gMonHelpWebSite = New System.Windows.Forms.ToolStripMenuItem()
Me.gMonHelpManual = New System.Windows.Forms.ToolStripMenuItem() Me.gMonHelpManual = New System.Windows.Forms.ToolStripMenuItem()
Me.gMonHelpCheckforUpdates = New System.Windows.Forms.ToolStripMenuItem() Me.gMonHelpCheckforUpdates = New System.Windows.Forms.ToolStripMenuItem()
Me.gMonHelpAbout = New System.Windows.Forms.ToolStripMenuItem() Me.gMonHelpAbout = New System.Windows.Forms.ToolStripMenuItem()
@@ -80,17 +81,17 @@ Partial Class frmMain
Me.lblGameTitle = New System.Windows.Forms.Label() Me.lblGameTitle = New System.Windows.Forms.Label()
Me.lblLastAction = New System.Windows.Forms.Label() Me.lblLastAction = New System.Windows.Forms.Label()
Me.lblLastActionTitle = New System.Windows.Forms.Label() Me.lblLastActionTitle = New System.Windows.Forms.Label()
Me.lblTimeTitle = New System.Windows.Forms.Label()
Me.lblTimeSpent = New System.Windows.Forms.Label() Me.lblTimeSpent = New System.Windows.Forms.Label()
Me.btnCancelOperation = New System.Windows.Forms.Button() Me.btnCancelOperation = New System.Windows.Forms.Button()
Me.lblStatus1 = New System.Windows.Forms.Label() Me.lblStatus1 = New System.Windows.Forms.Label()
Me.lblStatus2 = New System.Windows.Forms.Label() Me.lblStatus2 = New System.Windows.Forms.Label()
Me.lblStatus3 = New System.Windows.Forms.Label() Me.lblStatus3 = New System.Windows.Forms.Label()
Me.gMonHelpWebSite = New System.Windows.Forms.ToolStripMenuItem() Me.pbTime = New System.Windows.Forms.PictureBox()
Me.gMonTrayMenu.SuspendLayout() Me.gMonTrayMenu.SuspendLayout()
Me.gMonStatusStrip.SuspendLayout() Me.gMonStatusStrip.SuspendLayout()
Me.gMonMainMenu.SuspendLayout() Me.gMonMainMenu.SuspendLayout()
CType(Me.pbIcon, System.ComponentModel.ISupportInitialize).BeginInit() CType(Me.pbIcon, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.pbTime, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout() Me.SuspendLayout()
' '
'gMonTray 'gMonTray
@@ -231,20 +232,20 @@ Partial Class frmMain
'txtLog 'txtLog
' '
Me.txtLog.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.txtLog.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.txtLog.Location = New System.Drawing.Point(12, 161) Me.txtLog.Location = New System.Drawing.Point(12, 184)
Me.txtLog.Multiline = True Me.txtLog.Multiline = True
Me.txtLog.Name = "txtLog" Me.txtLog.Name = "txtLog"
Me.txtLog.ReadOnly = True Me.txtLog.ReadOnly = True
Me.txtLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical Me.txtLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical
Me.txtLog.Size = New System.Drawing.Size(500, 177) Me.txtLog.Size = New System.Drawing.Size(500, 177)
Me.txtLog.TabIndex = 2 Me.txtLog.TabIndex = 10
Me.txtLog.TabStop = False Me.txtLog.TabStop = False
' '
'gMonStatusStrip 'gMonStatusStrip
' '
Me.gMonStatusStrip.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.gMonStatusStrip.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.gMonStatusStrip.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.gMonStripAdminButton, Me.gMonStripTxtStatus, Me.gMonStripStatusButton}) Me.gMonStatusStrip.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.gMonStripAdminButton, Me.gMonStripTxtStatus, Me.gMonStripStatusButton})
Me.gMonStatusStrip.Location = New System.Drawing.Point(0, 350) Me.gMonStatusStrip.Location = New System.Drawing.Point(0, 364)
Me.gMonStatusStrip.Name = "gMonStatusStrip" Me.gMonStatusStrip.Name = "gMonStatusStrip"
Me.gMonStatusStrip.ShowItemToolTips = True Me.gMonStatusStrip.ShowItemToolTips = True
Me.gMonStatusStrip.Size = New System.Drawing.Size(524, 22) Me.gMonStatusStrip.Size = New System.Drawing.Size(524, 22)
@@ -289,7 +290,7 @@ Partial Class frmMain
Me.gMonMainMenu.Name = "gMonMainMenu" Me.gMonMainMenu.Name = "gMonMainMenu"
Me.gMonMainMenu.RenderMode = System.Windows.Forms.ToolStripRenderMode.System Me.gMonMainMenu.RenderMode = System.Windows.Forms.ToolStripRenderMode.System
Me.gMonMainMenu.Size = New System.Drawing.Size(524, 24) Me.gMonMainMenu.Size = New System.Drawing.Size(524, 24)
Me.gMonMainMenu.TabIndex = 8 Me.gMonMainMenu.TabIndex = 0
Me.gMonMainMenu.Text = "MenuStrip1" Me.gMonMainMenu.Text = "MenuStrip1"
' '
'gMonFile 'gMonFile
@@ -409,6 +410,12 @@ Partial Class frmMain
Me.gMonHelp.Size = New System.Drawing.Size(44, 20) Me.gMonHelp.Size = New System.Drawing.Size(44, 20)
Me.gMonHelp.Text = "&Help" Me.gMonHelp.Text = "&Help"
' '
'gMonHelpWebSite
'
Me.gMonHelpWebSite.Name = "gMonHelpWebSite"
Me.gMonHelpWebSite.Size = New System.Drawing.Size(180, 22)
Me.gMonHelpWebSite.Text = "&Official Web Site..."
'
'gMonHelpManual 'gMonHelpManual
' '
Me.gMonHelpManual.Name = "gMonHelpManual" Me.gMonHelpManual.Name = "gMonHelpManual"
@@ -419,7 +426,7 @@ Partial Class frmMain
' '
Me.gMonHelpCheckforUpdates.Name = "gMonHelpCheckforUpdates" Me.gMonHelpCheckforUpdates.Name = "gMonHelpCheckforUpdates"
Me.gMonHelpCheckforUpdates.Size = New System.Drawing.Size(180, 22) Me.gMonHelpCheckforUpdates.Size = New System.Drawing.Size(180, 22)
Me.gMonHelpCheckforUpdates.Text = "Check for Updates..." Me.gMonHelpCheckforUpdates.Text = "&Check for Updates..."
' '
'gMonHelpAbout 'gMonHelpAbout
' '
@@ -446,10 +453,10 @@ Partial Class frmMain
' '
'btnLogToggle 'btnLogToggle
' '
Me.btnLogToggle.Location = New System.Drawing.Point(437, 132) Me.btnLogToggle.Location = New System.Drawing.Point(437, 155)
Me.btnLogToggle.Name = "btnLogToggle" Me.btnLogToggle.Name = "btnLogToggle"
Me.btnLogToggle.Size = New System.Drawing.Size(75, 23) Me.btnLogToggle.Size = New System.Drawing.Size(75, 23)
Me.btnLogToggle.TabIndex = 1 Me.btnLogToggle.TabIndex = 7
Me.btnLogToggle.Text = "Show &Log" Me.btnLogToggle.Text = "Show &Log"
Me.btnLogToggle.UseVisualStyleBackColor = True Me.btnLogToggle.UseVisualStyleBackColor = True
' '
@@ -459,99 +466,91 @@ Partial Class frmMain
Me.lblGameTitle.Location = New System.Drawing.Point(66, 36) Me.lblGameTitle.Location = New System.Drawing.Point(66, 36)
Me.lblGameTitle.Name = "lblGameTitle" Me.lblGameTitle.Name = "lblGameTitle"
Me.lblGameTitle.Size = New System.Drawing.Size(446, 16) Me.lblGameTitle.Size = New System.Drawing.Size(446, 16)
Me.lblGameTitle.TabIndex = 10 Me.lblGameTitle.TabIndex = 1
Me.lblGameTitle.Text = "Game Title" Me.lblGameTitle.Text = "Game Title"
' '
'lblLastAction 'lblLastAction
' '
Me.lblLastAction.AutoEllipsis = True Me.lblLastAction.AutoEllipsis = True
Me.lblLastAction.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.lblLastAction.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.lblLastAction.Location = New System.Drawing.Point(12, 139) Me.lblLastAction.Location = New System.Drawing.Point(12, 165)
Me.lblLastAction.Name = "lblLastAction" Me.lblLastAction.Name = "lblLastAction"
Me.lblLastAction.Size = New System.Drawing.Size(419, 16) Me.lblLastAction.Size = New System.Drawing.Size(419, 13)
Me.lblLastAction.TabIndex = 11 Me.lblLastAction.TabIndex = 9
Me.lblLastAction.Text = "Last Action" Me.lblLastAction.Text = "Last Action"
' '
'lblLastActionTitle 'lblLastActionTitle
' '
Me.lblLastActionTitle.AutoSize = True Me.lblLastActionTitle.AutoSize = True
Me.lblLastActionTitle.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.lblLastActionTitle.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.lblLastActionTitle.Location = New System.Drawing.Point(12, 126) Me.lblLastActionTitle.Location = New System.Drawing.Point(12, 147)
Me.lblLastActionTitle.Name = "lblLastActionTitle" Me.lblLastActionTitle.Name = "lblLastActionTitle"
Me.lblLastActionTitle.Size = New System.Drawing.Size(75, 13) Me.lblLastActionTitle.Size = New System.Drawing.Size(75, 13)
Me.lblLastActionTitle.TabIndex = 12 Me.lblLastActionTitle.TabIndex = 8
Me.lblLastActionTitle.Text = "Last Action:" Me.lblLastActionTitle.Text = "Last Action:"
' '
'lblTimeTitle
'
Me.lblTimeTitle.AutoSize = True
Me.lblTimeTitle.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.lblTimeTitle.Location = New System.Drawing.Point(66, 55)
Me.lblTimeTitle.Name = "lblTimeTitle"
Me.lblTimeTitle.Size = New System.Drawing.Size(75, 13)
Me.lblTimeTitle.TabIndex = 13
Me.lblTimeTitle.Text = "Time Spent:"
'
'lblTimeSpent 'lblTimeSpent
' '
Me.lblTimeSpent.AutoSize = True Me.lblTimeSpent.AutoEllipsis = True
Me.lblTimeSpent.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.lblTimeSpent.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.lblTimeSpent.Location = New System.Drawing.Point(139, 55) Me.lblTimeSpent.Location = New System.Drawing.Point(66, 110)
Me.lblTimeSpent.Name = "lblTimeSpent" Me.lblTimeSpent.Name = "lblTimeSpent"
Me.lblTimeSpent.Size = New System.Drawing.Size(44, 13) Me.lblTimeSpent.Size = New System.Drawing.Size(446, 16)
Me.lblTimeSpent.TabIndex = 14 Me.lblTimeSpent.TabIndex = 5
Me.lblTimeSpent.Text = "0 Hours" Me.lblTimeSpent.Text = "0 Hours"
' '
'btnCancelOperation 'btnCancelOperation
' '
Me.btnCancelOperation.Location = New System.Drawing.Point(437, 103) Me.btnCancelOperation.Location = New System.Drawing.Point(437, 126)
Me.btnCancelOperation.Name = "btnCancelOperation" Me.btnCancelOperation.Name = "btnCancelOperation"
Me.btnCancelOperation.Size = New System.Drawing.Size(75, 23) Me.btnCancelOperation.Size = New System.Drawing.Size(75, 23)
Me.btnCancelOperation.TabIndex = 0 Me.btnCancelOperation.TabIndex = 6
Me.btnCancelOperation.Text = "&Cancel" Me.btnCancelOperation.Text = "&Cancel"
Me.btnCancelOperation.UseVisualStyleBackColor = True Me.btnCancelOperation.UseVisualStyleBackColor = True
' '
'lblStatus1 'lblStatus1
' '
Me.lblStatus1.AutoEllipsis = True Me.lblStatus1.AutoEllipsis = True
Me.lblStatus1.Location = New System.Drawing.Point(66, 71) Me.lblStatus1.Location = New System.Drawing.Point(66, 58)
Me.lblStatus1.Name = "lblStatus1" Me.lblStatus1.Name = "lblStatus1"
Me.lblStatus1.Size = New System.Drawing.Size(446, 13) Me.lblStatus1.Size = New System.Drawing.Size(446, 13)
Me.lblStatus1.TabIndex = 15 Me.lblStatus1.TabIndex = 2
' '
'lblStatus2 'lblStatus2
' '
Me.lblStatus2.AutoEllipsis = True Me.lblStatus2.AutoEllipsis = True
Me.lblStatus2.Location = New System.Drawing.Point(66, 87) Me.lblStatus2.Location = New System.Drawing.Point(66, 74)
Me.lblStatus2.Name = "lblStatus2" Me.lblStatus2.Name = "lblStatus2"
Me.lblStatus2.Size = New System.Drawing.Size(446, 13) Me.lblStatus2.Size = New System.Drawing.Size(446, 13)
Me.lblStatus2.TabIndex = 16 Me.lblStatus2.TabIndex = 3
' '
'lblStatus3 'lblStatus3
' '
Me.lblStatus3.AutoEllipsis = True Me.lblStatus3.AutoEllipsis = True
Me.lblStatus3.Location = New System.Drawing.Point(66, 103) Me.lblStatus3.Location = New System.Drawing.Point(66, 90)
Me.lblStatus3.Name = "lblStatus3" Me.lblStatus3.Name = "lblStatus3"
Me.lblStatus3.Size = New System.Drawing.Size(365, 13) Me.lblStatus3.Size = New System.Drawing.Size(446, 13)
Me.lblStatus3.TabIndex = 17 Me.lblStatus3.TabIndex = 4
' '
'gMonHelpWebSite 'pbTime
' '
Me.gMonHelpWebSite.Name = "gMonHelpWebSite" Me.pbTime.Location = New System.Drawing.Point(36, 106)
Me.gMonHelpWebSite.Size = New System.Drawing.Size(180, 22) Me.pbTime.Name = "pbTime"
Me.gMonHelpWebSite.Text = "&Official Web Site..." Me.pbTime.Size = New System.Drawing.Size(24, 24)
Me.pbTime.TabIndex = 18
Me.pbTime.TabStop = False
' '
'frmMain 'frmMain
' '
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(524, 372) Me.ClientSize = New System.Drawing.Size(524, 386)
Me.Controls.Add(Me.pbTime)
Me.Controls.Add(Me.lblStatus3) Me.Controls.Add(Me.lblStatus3)
Me.Controls.Add(Me.lblStatus2) Me.Controls.Add(Me.lblStatus2)
Me.Controls.Add(Me.lblStatus1) Me.Controls.Add(Me.lblStatus1)
Me.Controls.Add(Me.btnCancelOperation) Me.Controls.Add(Me.btnCancelOperation)
Me.Controls.Add(Me.lblTimeSpent) Me.Controls.Add(Me.lblTimeSpent)
Me.Controls.Add(Me.lblTimeTitle)
Me.Controls.Add(Me.lblLastActionTitle) Me.Controls.Add(Me.lblLastActionTitle)
Me.Controls.Add(Me.lblLastAction) Me.Controls.Add(Me.lblLastAction)
Me.Controls.Add(Me.lblGameTitle) Me.Controls.Add(Me.lblGameTitle)
@@ -576,6 +575,7 @@ Partial Class frmMain
Me.gMonMainMenu.ResumeLayout(False) Me.gMonMainMenu.ResumeLayout(False)
Me.gMonMainMenu.PerformLayout() Me.gMonMainMenu.PerformLayout()
CType(Me.pbIcon, System.ComponentModel.ISupportInitialize).EndInit() CType(Me.pbIcon, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.pbTime, System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False) Me.ResumeLayout(False)
Me.PerformLayout() Me.PerformLayout()
@@ -617,7 +617,6 @@ Partial Class frmMain
Friend WithEvents gMonTrayToolsSyncMan As System.Windows.Forms.ToolStripMenuItem Friend WithEvents gMonTrayToolsSyncMan As System.Windows.Forms.ToolStripMenuItem
Friend WithEvents gMonSetupAddWizard As System.Windows.Forms.ToolStripMenuItem Friend WithEvents gMonSetupAddWizard As System.Windows.Forms.ToolStripMenuItem
Friend WithEvents gMonTraySetupAddWizard As System.Windows.Forms.ToolStripMenuItem Friend WithEvents gMonTraySetupAddWizard As System.Windows.Forms.ToolStripMenuItem
Friend WithEvents lblTimeTitle As System.Windows.Forms.Label
Friend WithEvents lblTimeSpent As System.Windows.Forms.Label Friend WithEvents lblTimeSpent As System.Windows.Forms.Label
Friend WithEvents gMonToolsGameList As System.Windows.Forms.ToolStripMenuItem Friend WithEvents gMonToolsGameList As System.Windows.Forms.ToolStripMenuItem
Friend WithEvents gMonToolsGameImportOfficialList As System.Windows.Forms.ToolStripMenuItem Friend WithEvents gMonToolsGameImportOfficialList As System.Windows.Forms.ToolStripMenuItem
@@ -643,4 +642,5 @@ Partial Class frmMain
Friend WithEvents gMonNotification As System.Windows.Forms.ToolStripMenuItem Friend WithEvents gMonNotification As System.Windows.Forms.ToolStripMenuItem
Friend WithEvents gMonTrayNotification As System.Windows.Forms.ToolStripMenuItem Friend WithEvents gMonTrayNotification As System.Windows.Forms.ToolStripMenuItem
Friend WithEvents gMonHelpWebSite As System.Windows.Forms.ToolStripMenuItem Friend WithEvents gMonHelpWebSite As System.Windows.Forms.ToolStripMenuItem
Friend WithEvents pbTime As System.Windows.Forms.PictureBox
End Class End Class
+22 -16
View File
@@ -313,9 +313,9 @@ Public Class frmMain
If slRestoreData.Count > 0 Then If slRestoreData.Count > 0 Then
If slRestoreData.Count > 1 Then If slRestoreData.Count > 1 Then
sNotification = slRestoreData.Count & " Games Pending Restore" sNotification = slRestoreData.Count & " Restores pending"
Else Else
sNotification = slRestoreData.Count & " Game Pending Restore" sNotification = slRestoreData.Count & " Restore pending"
End If End If
gMonNotification.Image = My.Resources.Inbox gMonNotification.Image = My.Resources.Inbox
gMonTrayNotification.Image = My.Resources.Inbox gMonTrayNotification.Image = My.Resources.Inbox
@@ -404,7 +404,7 @@ Public Class frmMain
lblStatus2.Text = sPriorCompany lblStatus2.Text = sPriorCompany
lblStatus3.Text = sPriorVersion lblStatus3.Text = sPriorVersion
If oSettings.TimeTracking Then If oSettings.TimeTracking Then
lblTimeTitle.Visible = True pbTime.Visible = True
lblTimeSpent.Visible = True lblTimeSpent.Visible = True
End If End If
Else Else
@@ -413,7 +413,7 @@ Public Class frmMain
lblStatus1.Text = String.Empty lblStatus1.Text = String.Empty
lblStatus2.Text = String.Empty lblStatus2.Text = String.Empty
lblStatus3.Text = String.Empty lblStatus3.Text = String.Empty
lblTimeTitle.Visible = False pbTime.Visible = False
lblTimeSpent.Visible = False lblTimeSpent.Visible = False
End If End If
@@ -431,7 +431,7 @@ Public Class frmMain
Dim d As New WorkingGameInfoCallBack(AddressOf WorkingGameInfo) Dim d As New WorkingGameInfoCallBack(AddressOf WorkingGameInfo)
Me.Invoke(d, New Object() {sTitle, sStatus1, sStatus2, sStatus3}) Me.Invoke(d, New Object() {sTitle, sStatus1, sStatus2, sStatus3})
Else Else
lblTimeTitle.Visible = False pbTime.Visible = False
lblTimeSpent.Visible = False lblTimeSpent.Visible = False
pbIcon.Image = My.Resources.Working pbIcon.Image = My.Resources.Working
lblGameTitle.Text = sTitle lblGameTitle.Text = sTitle
@@ -456,7 +456,7 @@ Public Class frmMain
bAllowIcon = False bAllowIcon = False
bAllowDetails = False bAllowDetails = False
lblGameTitle.Text = "Multiple Games" lblGameTitle.Text = "Multiple Games"
lblTimeTitle.Visible = False pbTime.Visible = False
lblTimeSpent.Visible = False lblTimeSpent.Visible = False
pbIcon.Image = My.Resources.Unknown pbIcon.Image = My.Resources.Unknown
lblStatus1.Text = "Game details are unavailable." lblStatus1.Text = "Game details are unavailable."
@@ -498,7 +498,7 @@ Public Class frmMain
If oSettings.TimeTracking Then If oSettings.TimeTracking Then
UpdateTimeSpent(oProcess.GameInfo.Hours, 0) UpdateTimeSpent(oProcess.GameInfo.Hours, 0)
Else Else
lblTimeTitle.Visible = False pbTime.Visible = False
lblTimeSpent.Visible = False lblTimeSpent.Visible = False
End If End If
@@ -535,24 +535,24 @@ Public Class frmMain
Dim sSessionTime As String Dim sSessionTime As String
If dTotalTime < 1 Then If dTotalTime < 1 Then
sTotalTime = Math.Round((dTotalTime * 100) * 0.6) & " minutes [Total]" sTotalTime = Math.Round((dTotalTime * 100) * 0.6) & " minutes"
Else Else
sTotalTime = Math.Round(dTotalTime, 1) & " hours [Total]" sTotalTime = Math.Round(dTotalTime, 1) & " hours"
End If End If
If dSessionTime < 1 Then If dSessionTime < 1 Then
sSessionTime = Math.Round((dSessionTime * 100) * 0.6) & " minutes [Session]" sSessionTime = Math.Round((dSessionTime * 100) * 0.6) & " minutes"
Else Else
sSessionTime = Math.Round(dSessionTime, 1) & " hours [Session]" sSessionTime = Math.Round(dSessionTime, 1) & " hours"
End If End If
If dSessionTime > 0 Then If dSessionTime > 0 Then
lblTimeSpent.Text = sSessionTime & " | " & sTotalTime lblTimeSpent.Text = sSessionTime & " (" & sTotalTime & ")"
Else Else
lblTimeSpent.Text = sTotalTime lblTimeSpent.Text = sTotalTime
End If End If
lblTimeTitle.Visible = True pbTime.Visible = True
lblTimeSpent.Visible = True lblTimeSpent.Visible = True
End Sub End Sub
@@ -793,14 +793,14 @@ Public Class frmMain
Private Sub ToggleLog() Private Sub ToggleLog()
If bLogToggle = False Then If bLogToggle = False Then
txtLog.Visible = True txtLog.Visible = True
Me.Size = New System.Drawing.Size(540, 410) Me.Size = New System.Drawing.Size(540, 425)
bLogToggle = True bLogToggle = True
btnLogToggle.Text = "Hide &Log" btnLogToggle.Text = "Hide &Log"
txtLog.Select(txtLog.TextLength, 0) txtLog.Select(txtLog.TextLength, 0)
txtLog.ScrollToCaret() txtLog.ScrollToCaret()
Else Else
txtLog.Visible = False txtLog.Visible = False
Me.Size = New System.Drawing.Size(540, 225) Me.Size = New System.Drawing.Size(540, 245)
bLogToggle = False bLogToggle = False
btnLogToggle.Text = "Show &Log" btnLogToggle.Text = "Show &Log"
End If End If
@@ -918,6 +918,8 @@ Public Class frmMain
ToggleMenuItems(False, gMonTools) ToggleMenuItems(False, gMonTools)
ToggleMenuItems(False, gMonTraySetup) ToggleMenuItems(False, gMonTraySetup)
ToggleMenuItems(False, gMonTrayTools) ToggleMenuItems(False, gMonTrayTools)
gMonNotification.Enabled = False
gMonTrayNotification.Enabled = False
gMonTraySettings.Enabled = False gMonTraySettings.Enabled = False
bMenuEnabled = False bMenuEnabled = False
Else Else
@@ -928,6 +930,8 @@ Public Class frmMain
ToggleMenuItems(True, gMonTools) ToggleMenuItems(True, gMonTools)
ToggleMenuItems(True, gMonTraySetup) ToggleMenuItems(True, gMonTraySetup)
ToggleMenuItems(True, gMonTrayTools) ToggleMenuItems(True, gMonTrayTools)
gMonNotification.Enabled = True
gMonTrayNotification.Enabled = True
gMonTraySettings.Enabled = True gMonTraySettings.Enabled = True
bMenuEnabled = True bMenuEnabled = True
End If End If
@@ -1006,7 +1010,9 @@ Public Class frmMain
txtLog.Visible = False txtLog.Visible = False
lblLastActionTitle.Visible = False lblLastActionTitle.Visible = False
lblLastAction.Text = String.Empty lblLastAction.Text = String.Empty
Me.Size = New System.Drawing.Size(540, 225) pbTime.SizeMode = PictureBoxSizeMode.AutoSize
pbTime.Image = My.Resources.Clock
Me.Size = New System.Drawing.Size(540, 245)
AddHandler mgrMonitorList.UpdateLog, AddressOf UpdateLog AddHandler mgrMonitorList.UpdateLog, AddressOf UpdateLog
ResetGameInfo() ResetGameInfo()
End Sub End Sub
+1
View File
@@ -323,6 +323,7 @@
<Content Include="References\System.Data.SQLite.dll" /> <Content Include="References\System.Data.SQLite.dll" />
<None Include="Resources\gbm.ico" /> <None Include="Resources\gbm.ico" />
<Content Include="Resources\Admin.png" /> <Content Include="Resources\Admin.png" />
<Content Include="Resources\Clock.png" />
<Content Include="Resources\file.ico" /> <Content Include="Resources\file.ico" />
<Content Include="Resources\folder.ico" /> <Content Include="Resources\folder.ico" />
<Content Include="Resources\GBM_Tray_Detected.ico" /> <Content Include="Resources\GBM_Tray_Detected.ico" />
+10
View File
@@ -70,6 +70,16 @@ Namespace My.Resources
End Get End Get
End Property End Property
'''<summary>
''' Looks up a localized resource of type System.Drawing.Bitmap.
'''</summary>
Friend ReadOnly Property Clock() As System.Drawing.Bitmap
Get
Dim obj As Object = ResourceManager.GetObject("Clock", resourceCulture)
Return CType(obj,System.Drawing.Bitmap)
End Get
End Property
'''<summary> '''<summary>
''' Looks up a localized resource of type System.Drawing.Bitmap. ''' Looks up a localized resource of type System.Drawing.Bitmap.
'''</summary> '''</summary>
+3
View File
@@ -121,6 +121,9 @@
<data name="Admin" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="Admin" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Admin.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\Admin.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="Clock" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Clock.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Detected" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="Detected" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Detected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\Detected.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB