Skip to content

Commit

Permalink
Added new icon to UnitTest
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannaOlin1 committed Jan 19, 2021
1 parent 16938f7 commit 33225c4
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions BHoM_UI/BHoM_UI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@
<Content Include="Properties\Resources\RunCode.png" />
<Content Include="Properties\Resources\ToJson.png" />
<Content Include="Properties\Resources\Type.png" />
<None Include="Properties\Resources\UnitTest.png" />
<Content Include="Properties\Resources\UpdateProperty.png" />
<Content Include="Properties\Resources\VBH_Script.png" />
<Content Include="Properties\Resources\VS_Script.png" />
Expand Down
2 changes: 2 additions & 0 deletions BHoM_UI/Components/UI/UnitTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ public class UnitTestCaller : Caller
/**** Properties ****/
/*************************************/

public override System.Drawing.Bitmap Icon_24x24 { get; protected set; } = Properties.Resources.UnitTest;

public override Guid Id { get; protected set; } = new Guid("dd7ad577-8e27-42e0-ad72-f70e87fc7492");

public override string Name { get; protected set; } = "UnitTest";
Expand Down
12 changes: 12 additions & 0 deletions BHoM_UI/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions BHoM_UI/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -238,4 +238,7 @@
<data name="RunCode" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>resources\runcode.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="UnitTest" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UnitTest.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>
Binary file added BHoM_UI/Properties/Resources/UnitTest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 33225c4

Please sign in to comment.