From afb479044c79af39de3e9ff14f924a962726cc29 Mon Sep 17 00:00:00 2001 From: MikeMaximus Date: Tue, 6 Mar 2018 10:02:15 -0600 Subject: [PATCH] Added icons to import --- GBM/Forms/frmAdvancedImport.vb | 12 +++++++++++- GBM/Game Backup Monitor.vbproj | 2 ++ GBM/My Project/Resources.Designer.vb | 20 ++++++++++++++++++++ GBM/My Project/Resources.resx | 6 ++++++ GBM/Resources/New.png | Bin 0 -> 926 bytes GBM/Resources/Update.png | Bin 0 -> 891 bytes GBM/readme.txt | 13 ++++++++++--- 7 files changed, 49 insertions(+), 4 deletions(-) create mode 100644 GBM/Resources/New.png create mode 100644 GBM/Resources/Update.png diff --git a/GBM/Forms/frmAdvancedImport.vb b/GBM/Forms/frmAdvancedImport.vb index 2ec181d..f9202e1 100644 --- a/GBM/Forms/frmAdvancedImport.vb +++ b/GBM/Forms/frmAdvancedImport.vb @@ -9,6 +9,7 @@ Public Class frmAdvancedImport Private bSelectAll As Boolean = True Private bIsLoading As Boolean = False Private iCurrentSort As Integer = 0 + Private oImageList As ImageList Private WithEvents tmFilterTimer As Timer Public Property ImportInfo As ExportData @@ -104,8 +105,10 @@ Public Class frmAdvancedImport End If If oApp.ImportUpdate Then - oListViewItem.ForeColor = Color.Red + oListViewItem.ImageIndex = 1 oListViewItem.Checked = True + Else + oListViewItem.ImageIndex = 0 End If If sFilter = String.Empty Then @@ -161,6 +164,13 @@ Public Class frmAdvancedImport btnImport.Text = frmAdvancedImport_btnImport chkSelectAll.Text = frmAdvancedImport_chkSelectAll + + 'Set Icons + oImageList = New ImageList() + oImageList.Images.Add(Icon_New) + oImageList.Images.Add(Icon_Update) + lstGames.SmallImageList = oImageList + chkSelectAll.Checked = True 'Init Filter Timer diff --git a/GBM/Game Backup Monitor.vbproj b/GBM/Game Backup Monitor.vbproj index 1384ed4..88a2cc1 100644 --- a/GBM/Game Backup Monitor.vbproj +++ b/GBM/Game Backup Monitor.vbproj @@ -365,6 +365,8 @@ PreserveNewest + + PreserveNewest diff --git a/GBM/My Project/Resources.Designer.vb b/GBM/My Project/Resources.Designer.vb index 353741e..f668fd2 100644 --- a/GBM/My Project/Resources.Designer.vb +++ b/GBM/My Project/Resources.Designer.vb @@ -5098,6 +5098,16 @@ Namespace My.Resources End Get End Property + ''' + ''' Looks up a localized resource of type System.Drawing.Bitmap. + ''' + Friend ReadOnly Property Icon_New() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("Icon_New", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + ''' ''' Looks up a localized resource of type System.Drawing.Bitmap. ''' @@ -5138,6 +5148,16 @@ Namespace My.Resources End Get End Property + ''' + ''' Looks up a localized resource of type System.Drawing.Bitmap. + ''' + Friend ReadOnly Property Icon_Update() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("Icon_Update", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + ''' ''' Looks up a localized resource of type System.Drawing.Bitmap. ''' diff --git a/GBM/My Project/Resources.resx b/GBM/My Project/Resources.resx index 05992c3..e5d5567 100644 --- a/GBM/My Project/Resources.resx +++ b/GBM/My Project/Resources.resx @@ -2056,4 +2056,10 @@ Do you want to reset all hidden warnings and messages? + + ..\Resources\New.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Update.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/GBM/Resources/New.png b/GBM/Resources/New.png new file mode 100644 index 0000000000000000000000000000000000000000..14d0fff80a6d0b85fd2c029290c5e5c03e957716 GIT binary patch literal 926 zcmV;P17ZA$P)NABt9hrcDisls06^rNtE2g1|EnK=xpVOGd-1rt%1wYT?_R#FQhw3QF1#|W zCx8eb1OrH22W#^iuRXu}^8xVZD8Q<${K(|E?*z4!5E%+X2D$~%nJnt6<|cP-1X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