Skip to content

Commit

Permalink
added (temporary) icon
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexodia committed Aug 19, 2017
1 parent 2963789 commit ef2fa1e
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
15 changes: 15 additions & 0 deletions PluginManagerGUI/PluginManagerGUI.Designer.cs

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

6 changes: 6 additions & 0 deletions PluginManagerGUI/PluginManagerGUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public PluginManagerGUI()
{
InitializeComponent();
listBoxPlugins.SelectedIndexChanged += listBoxPlugins_SelectedIndexChanged;
Icon = Icon.ExtractAssociatedIcon(System.Reflection.Assembly.GetExecutingAssembly().Location);
}

void listBoxPlugins_SelectedIndexChanged(object sender, EventArgs e)
Expand Down Expand Up @@ -170,5 +171,10 @@ private void buttonInstall_Click(object sender, EventArgs e)
PerformInstall(delivery, dstDir);
MessageBox.Show("Done!");
}

private void linkLabelIcon_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start("https://icons8.com/icon/5578/Puzzle");
}
}
}
6 changes: 6 additions & 0 deletions PluginManagerGUI/PluginManagerGUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>puzzle.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="Costura, Version=1.6.2.0, Culture=neutral, PublicKeyToken=9919ef960d84173d, processorArchitecture=MSIL">
<HintPath>..\packages\Costura.Fody.1.6.2\lib\dotnet\Costura.dll</HintPath>
Expand Down Expand Up @@ -96,6 +99,9 @@
<ItemGroup>
<None Include="FodyWeavers.xml" />
</ItemGroup>
<ItemGroup>
<Content Include="puzzle.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\Fody.2.0.0\build\dotnet\Fody.targets" Condition="Exists('..\packages\Fody.2.0.0\build\dotnet\Fody.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
Expand Down
Binary file added PluginManagerGUI/puzzle.ico
Binary file not shown.

0 comments on commit ef2fa1e

Please sign in to comment.