Renamed image resources
This commit is contained in:
@@ -657,7 +657,7 @@ Public Class frmGameManager
|
||||
If IO.File.Exists(oApp.Icon) Then
|
||||
pbIcon.Image = Image.FromFile(oApp.Icon)
|
||||
Else
|
||||
pbIcon.Image = Unknown
|
||||
pbIcon.Image = Icon_Unknown
|
||||
End If
|
||||
|
||||
'Stats
|
||||
@@ -745,7 +745,7 @@ Public Class frmGameManager
|
||||
WipeControls(grpConfig.Controls)
|
||||
WipeControls(grpExtra.Controls)
|
||||
WipeControls(grpStats.Controls)
|
||||
pbIcon.Image = Unknown
|
||||
pbIcon.Image = Icon_Unknown
|
||||
chkEnabled.Enabled = True
|
||||
chkMonitorOnly.Enabled = True
|
||||
btnSave.Enabled = True
|
||||
@@ -831,7 +831,7 @@ Public Class frmGameManager
|
||||
WipeControls(grpConfig.Controls)
|
||||
WipeControls(grpExtra.Controls)
|
||||
WipeControls(grpStats.Controls)
|
||||
pbIcon.Image = Unknown
|
||||
pbIcon.Image = Icon_Unknown
|
||||
lblSync.Visible = False
|
||||
btnSave.Enabled = False
|
||||
btnCancel.Enabled = False
|
||||
@@ -856,7 +856,7 @@ Public Class frmGameManager
|
||||
WipeControls(grpConfig.Controls)
|
||||
WipeControls(grpExtra.Controls)
|
||||
WipeControls(grpStats.Controls)
|
||||
pbIcon.Image = Unknown
|
||||
pbIcon.Image = Icon_Unknown
|
||||
lblSync.Visible = False
|
||||
btnSave.Enabled = True
|
||||
btnCancel.Enabled = False
|
||||
|
||||
Generated
+1
-1
@@ -223,7 +223,7 @@ Partial Class frmMain
|
||||
'
|
||||
Me.gMonStripAdminButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
|
||||
Me.gMonStripAdminButton.DropDownButtonWidth = 0
|
||||
Me.gMonStripAdminButton.Image = Global.GBM.My.Resources.Resources.User
|
||||
Me.gMonStripAdminButton.Image = Global.GBM.My.Resources.Resources.Icon_User
|
||||
Me.gMonStripAdminButton.ImageTransparentColor = System.Drawing.Color.Magenta
|
||||
Me.gMonStripAdminButton.Name = "gMonStripAdminButton"
|
||||
Me.gMonStripAdminButton.Size = New System.Drawing.Size(21, 20)
|
||||
|
||||
+14
-14
@@ -313,8 +313,8 @@ Public Class frmMain
|
||||
Else
|
||||
sNotification = mgrCommon.FormatString(frmMain_NewSaveNotificationSingle, slRestoreData.Count)
|
||||
End If
|
||||
gMonNotification.Image = Inbox
|
||||
gMonTrayNotification.Image = Inbox
|
||||
gMonNotification.Image = Icon_Inbox
|
||||
gMonTrayNotification.Image = Icon_Inbox
|
||||
gMonNotification.Text = sNotification
|
||||
gMonTrayNotification.Text = sNotification
|
||||
gMonNotification.Visible = True
|
||||
@@ -359,7 +359,7 @@ Public Class frmMain
|
||||
lblTimeSpent.Visible = True
|
||||
End If
|
||||
Else
|
||||
pbIcon.Image = Searching
|
||||
pbIcon.Image = Icon_Searching
|
||||
lblGameTitle.Text = frmMain_NoGameDetected
|
||||
lblStatus1.Text = String.Empty
|
||||
lblStatus2.Text = String.Empty
|
||||
@@ -384,7 +384,7 @@ Public Class frmMain
|
||||
Else
|
||||
pbTime.Visible = False
|
||||
lblTimeSpent.Visible = False
|
||||
pbIcon.Image = Working
|
||||
pbIcon.Image = Icon_Working
|
||||
lblGameTitle.Text = sTitle
|
||||
lblStatus1.Text = sStatus1
|
||||
lblStatus2.Text = sStatus2
|
||||
@@ -409,7 +409,7 @@ Public Class frmMain
|
||||
lblGameTitle.Text = frmMain_MultipleGames
|
||||
pbTime.Visible = False
|
||||
lblTimeSpent.Visible = False
|
||||
pbIcon.Image = Unknown
|
||||
pbIcon.Image = Icon_Unknown
|
||||
lblStatus1.Text = frmMain_NoDetails
|
||||
Else
|
||||
bAllowIcon = True
|
||||
@@ -426,7 +426,7 @@ Public Class frmMain
|
||||
sCompanyName = oProcess.FoundProcess.MainModule.FileVersionInfo.CompanyName
|
||||
|
||||
Catch ex As Exception
|
||||
pbIcon.Image = Unknown
|
||||
pbIcon.Image = Icon_Unknown
|
||||
End Try
|
||||
|
||||
'Check for a custom icon & details
|
||||
@@ -993,11 +993,11 @@ Public Class frmMain
|
||||
gMonStripStatusButton.ToolTipText = frmMain_gMonStripStatusButtonToolTip
|
||||
|
||||
If mgrCommon.IsElevated Then
|
||||
gMonStripAdminButton.Image = Admin
|
||||
gMonStripAdminButton.Image = Icon_Admin
|
||||
gMonStripAdminButton.ToolTipText = frmMain_RunningAsAdmin
|
||||
|
||||
Else
|
||||
gMonStripAdminButton.Image = User
|
||||
gMonStripAdminButton.Image = Icon_User
|
||||
gMonStripAdminButton.ToolTipText = frmMain_RunningAsNormal
|
||||
End If
|
||||
btnCancelOperation.Visible = False
|
||||
@@ -1005,7 +1005,7 @@ Public Class frmMain
|
||||
lblLastActionTitle.Visible = False
|
||||
lblLastAction.Text = String.Empty
|
||||
pbTime.SizeMode = PictureBoxSizeMode.AutoSize
|
||||
pbTime.Image = Clock
|
||||
pbTime.Image = Icon_Clock
|
||||
Me.Size = New System.Drawing.Size(540, 245)
|
||||
AddHandler mgrMonitorList.UpdateLog, AddressOf UpdateLog
|
||||
ResetGameInfo()
|
||||
@@ -1023,14 +1023,14 @@ Public Class frmMain
|
||||
tmScanTimer.Stop()
|
||||
eCurrentStatus = eStatus.Stopped
|
||||
UpdateStatus(frmMain_NotScanning)
|
||||
gMonStripStatusButton.Image = Stopped
|
||||
gMonStripStatusButton.Image = Icon_Stopped
|
||||
gMonTray.Icon = GBM_Tray_Stopped
|
||||
Else
|
||||
StartScan()
|
||||
StartSyncWatcher()
|
||||
eCurrentStatus = eStatus.Running
|
||||
UpdateStatus(frmMain_NoGameDetected)
|
||||
gMonStripStatusButton.Image = Ready
|
||||
gMonStripStatusButton.Image = Icon_Ready
|
||||
gMonTray.Icon = GBM_Tray_Ready
|
||||
End If
|
||||
ToggleMenuText()
|
||||
@@ -1042,7 +1042,7 @@ Public Class frmMain
|
||||
tmScanTimer.Stop()
|
||||
eCurrentStatus = eStatus.Paused
|
||||
UpdateStatus(frmMain_NotScanning)
|
||||
gMonStripStatusButton.Image = Detected
|
||||
gMonStripStatusButton.Image = Icon_Detected
|
||||
gMonTray.Icon = GBM_Tray_Detected
|
||||
End If
|
||||
ToggleMenuText()
|
||||
@@ -1054,7 +1054,7 @@ Public Class frmMain
|
||||
StartScan()
|
||||
StartSyncWatcher()
|
||||
eCurrentStatus = eStatus.Running
|
||||
gMonStripStatusButton.Image = Ready
|
||||
gMonStripStatusButton.Image = Icon_Ready
|
||||
gMonTray.Icon = GBM_Tray_Ready
|
||||
UpdateStatus(frmMain_NoGameDetected)
|
||||
End If
|
||||
@@ -1067,7 +1067,7 @@ Public Class frmMain
|
||||
tmScanTimer.Stop()
|
||||
eCurrentStatus = eStatus.Stopped
|
||||
UpdateStatus(frmMain_NotScanning)
|
||||
gMonStripStatusButton.Image = Stopped
|
||||
gMonStripStatusButton.Image = Icon_Stopped
|
||||
gMonTray.Icon = GBM_Tray_Stopped
|
||||
ToggleMenuText()
|
||||
ToggleMenuEnable()
|
||||
|
||||
Generated
+44
-44
@@ -60,16 +60,6 @@ Namespace My.Resources
|
||||
End Set
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
'''</summary>
|
||||
Friend ReadOnly Property Admin() As System.Drawing.Bitmap
|
||||
Get
|
||||
Dim obj As Object = ResourceManager.GetObject("Admin", resourceCulture)
|
||||
Return CType(obj,System.Drawing.Bitmap)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Looks up a localized string similar to There are unsaved changes on this form. Do you want to save?.
|
||||
'''</summary>
|
||||
@@ -124,26 +114,6 @@ Namespace My.Resources
|
||||
End Get
|
||||
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>
|
||||
''' Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
'''</summary>
|
||||
Friend ReadOnly Property Detected() As System.Drawing.Bitmap
|
||||
Get
|
||||
Dim obj As Object = ResourceManager.GetObject("Detected", resourceCulture)
|
||||
Return CType(obj,System.Drawing.Bitmap)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Looks up a localized string similar to [PARAM] by [PARAM].
|
||||
'''</summary>
|
||||
@@ -1689,9 +1659,9 @@ Namespace My.Resources
|
||||
'''<summary>
|
||||
''' Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
'''</summary>
|
||||
Friend ReadOnly Property Inbox() As System.Drawing.Bitmap
|
||||
Friend ReadOnly Property Icon_Admin() As System.Drawing.Bitmap
|
||||
Get
|
||||
Dim obj As Object = ResourceManager.GetObject("Inbox", resourceCulture)
|
||||
Dim obj As Object = ResourceManager.GetObject("Icon_Admin", resourceCulture)
|
||||
Return CType(obj, System.Drawing.Bitmap)
|
||||
End Get
|
||||
End Property
|
||||
@@ -1699,9 +1669,9 @@ Namespace My.Resources
|
||||
'''<summary>
|
||||
''' Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
'''</summary>
|
||||
Friend ReadOnly Property Ready() As System.Drawing.Bitmap
|
||||
Friend ReadOnly Property Icon_Clock() As System.Drawing.Bitmap
|
||||
Get
|
||||
Dim obj As Object = ResourceManager.GetObject("Ready", resourceCulture)
|
||||
Dim obj As Object = ResourceManager.GetObject("Icon_Clock", resourceCulture)
|
||||
Return CType(obj, System.Drawing.Bitmap)
|
||||
End Get
|
||||
End Property
|
||||
@@ -1709,9 +1679,9 @@ Namespace My.Resources
|
||||
'''<summary>
|
||||
''' Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
'''</summary>
|
||||
Friend ReadOnly Property Searching() As System.Drawing.Bitmap
|
||||
Friend ReadOnly Property Icon_Detected() As System.Drawing.Bitmap
|
||||
Get
|
||||
Dim obj As Object = ResourceManager.GetObject("Searching", resourceCulture)
|
||||
Dim obj As Object = ResourceManager.GetObject("Icon_Detected", resourceCulture)
|
||||
Return CType(obj, System.Drawing.Bitmap)
|
||||
End Get
|
||||
End Property
|
||||
@@ -1719,9 +1689,9 @@ Namespace My.Resources
|
||||
'''<summary>
|
||||
''' Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
'''</summary>
|
||||
Friend ReadOnly Property Stopped() As System.Drawing.Bitmap
|
||||
Friend ReadOnly Property Icon_Inbox() As System.Drawing.Bitmap
|
||||
Get
|
||||
Dim obj As Object = ResourceManager.GetObject("Stopped", resourceCulture)
|
||||
Dim obj As Object = ResourceManager.GetObject("Icon_Inbox", resourceCulture)
|
||||
Return CType(obj, System.Drawing.Bitmap)
|
||||
End Get
|
||||
End Property
|
||||
@@ -1729,9 +1699,9 @@ Namespace My.Resources
|
||||
'''<summary>
|
||||
''' Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
'''</summary>
|
||||
Friend ReadOnly Property Unknown() As System.Drawing.Bitmap
|
||||
Friend ReadOnly Property Icon_Ready() As System.Drawing.Bitmap
|
||||
Get
|
||||
Dim obj As Object = ResourceManager.GetObject("Unknown", resourceCulture)
|
||||
Dim obj As Object = ResourceManager.GetObject("Icon_Ready", resourceCulture)
|
||||
Return CType(obj, System.Drawing.Bitmap)
|
||||
End Get
|
||||
End Property
|
||||
@@ -1739,9 +1709,9 @@ Namespace My.Resources
|
||||
'''<summary>
|
||||
''' Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
'''</summary>
|
||||
Friend ReadOnly Property User() As System.Drawing.Bitmap
|
||||
Friend ReadOnly Property Icon_Searching() As System.Drawing.Bitmap
|
||||
Get
|
||||
Dim obj As Object = ResourceManager.GetObject("User", resourceCulture)
|
||||
Dim obj As Object = ResourceManager.GetObject("Icon_Searching", resourceCulture)
|
||||
Return CType(obj, System.Drawing.Bitmap)
|
||||
End Get
|
||||
End Property
|
||||
@@ -1749,9 +1719,39 @@ Namespace My.Resources
|
||||
'''<summary>
|
||||
''' Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
'''</summary>
|
||||
Friend ReadOnly Property Working() As System.Drawing.Bitmap
|
||||
Friend ReadOnly Property Icon_Stopped() As System.Drawing.Bitmap
|
||||
Get
|
||||
Dim obj As Object = ResourceManager.GetObject("Working", resourceCulture)
|
||||
Dim obj As Object = ResourceManager.GetObject("Icon_Stopped", resourceCulture)
|
||||
Return CType(obj, System.Drawing.Bitmap)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
'''</summary>
|
||||
Friend ReadOnly Property Icon_Unknown() As System.Drawing.Bitmap
|
||||
Get
|
||||
Dim obj As Object = ResourceManager.GetObject("Icon_Unknown", resourceCulture)
|
||||
Return CType(obj, System.Drawing.Bitmap)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
'''</summary>
|
||||
Friend ReadOnly Property Icon_User() As System.Drawing.Bitmap
|
||||
Get
|
||||
Dim obj As Object = ResourceManager.GetObject("Icon_User", resourceCulture)
|
||||
Return CType(obj, System.Drawing.Bitmap)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
'''</summary>
|
||||
Friend ReadOnly Property Icon_Working() As System.Drawing.Bitmap
|
||||
Get
|
||||
Dim obj As Object = ResourceManager.GetObject("Icon_Working", resourceCulture)
|
||||
Return CType(obj, System.Drawing.Bitmap)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
@@ -118,7 +118,7 @@
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="Admin" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<data name="Icon_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>
|
||||
</data>
|
||||
<data name="frmMain_About" xml:space="preserve">
|
||||
@@ -163,10 +163,10 @@
|
||||
<data name="frmMain_RemoteCompactInit" xml:space="preserve">
|
||||
<value>Remote Database Vacuum Initialized: [PARAM] KB</value>
|
||||
</data>
|
||||
<data name="Clock" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<data name="Icon_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="Icon_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>
|
||||
</data>
|
||||
<data name="frmMain_BackupInProgress" xml:space="preserve">
|
||||
@@ -337,25 +337,25 @@
|
||||
<data name="GBM_Tray_Stopped" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\GBM_Tray_Stopped.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Inbox" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<data name="Icon_Inbox" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Inbox.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Ready" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<data name="Icon_Ready" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Ready.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Searching" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<data name="Icon_Searching" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Searching.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Stopped" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<data name="Icon_Stopped" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Stopped.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Unknown" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<data name="Icon_Unknown" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Unknown.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="User" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<data name="Icon_User" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\User.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Working" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<data name="Icon_Working" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Working.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="frmMain_btnCancelOperation" xml:space="preserve">
|
||||
|
||||
Reference in New Issue
Block a user