Skip to content

Commit 5916a4a

Browse files
committed
Use image via resource
1 parent 0aaf7c1 commit 5916a4a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Rubberduck.Core/UI/FindSymbol/FindSymbolControl.xaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
Executed="CommandBinding_OnExecuted"
1414
CanExecute="CommandBinding_OnCanExecute"/>
1515
</UserControl.CommandBindings>
16+
17+
<UserControl.Resources>
18+
<BitmapImage x:Key="ArrowImage" UriSource="pack://application:,,,/Rubberduck.Resources;component/Icons/Fugue/arrow.png" />
19+
</UserControl.Resources>
1620

1721
<Grid>
1822

@@ -43,7 +47,7 @@
4347
</ComboBox>
4448

4549
<Button Grid.Column="1" Command="local:FindSymbolControl.GoCommand">
46-
<Image Height="16" Source="pack://application:,,,/Rubberduck.Resources;component/Icons/Fugue/arrow.png" />
50+
<Image Height="16" Source="{StaticResource ArrowImage}" />
4751
</Button>
4852

4953
</Grid>

0 commit comments

Comments
 (0)