Skip to content

Commit 86e050d

Browse files
committed
fixes #1671
1 parent 8412c36 commit 86e050d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

RetailCoder.VBE/UI/SourceControl/SourceControlViewViewModel.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Collections.ObjectModel;
4+
using System.Drawing;
5+
using System.Globalization;
46
using System.Linq;
57
using System.Windows.Forms;
68
using System.Windows.Input;
@@ -91,8 +93,8 @@ public void SetTab(SourceControlTab tab)
9193
private static readonly IDictionary<NotificationType, BitmapImage> IconMappings =
9294
new Dictionary<NotificationType, BitmapImage>
9395
{
94-
{ NotificationType.Info, GetImageSource(resx.information)},
95-
{ NotificationType.Error, GetImageSource(resx.cross_circle)}
96+
{ NotificationType.Info, GetImageSource((Bitmap) resx.ResourceManager.GetObject("information", CultureInfo.InvariantCulture))},
97+
{ NotificationType.Error, GetImageSource((Bitmap) resx.ResourceManager.GetObject("cross_circle", CultureInfo.InvariantCulture))}
9698
};
9799

98100
private void _state_StateChanged(object sender, ParserStateEventArgs e)

0 commit comments

Comments
 (0)