Skip to content

Commit

Permalink
Add application icon
Browse files Browse the repository at this point in the history
  • Loading branch information
airumu committed Aug 5, 2020
1 parent ea84e69 commit 4ae78c7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CrashEdit/OldMainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ public OldMainForm()
Icon = OldResources.CBHacksIcon;
Width = Settings.Default.DefaultFormW;
Height = Settings.Default.DefaultFormH;
Text = $"CrashEdit v{Assembly.GetExecutingAssembly().GetName().Version.ToString()}";
Text = $"CrashEdit-tweaked v{Assembly.GetExecutingAssembly().GetName().Version.ToString()}";
Controls.Add(tbcTabs);
Controls.Add(tsToolbar);
Controls.Add(msMenu);
Expand Down
2 changes: 1 addition & 1 deletion CrashEdit/OldResources.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ internal static class OldResources
[Resource("NSFIcon")]
private static Icon nsficon = null;

[Resource("CBHacksIcon")]
[Resource("cbhacks-logo-new")]
private static Icon cbhacksicon = null;

[Resource("ArrowImage")]
Expand Down
3 changes: 3 additions & 0 deletions CrashEdit/OldResources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -295,4 +295,7 @@
<data name="SaveImage2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\SaveImage2.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="cbhacks-logo-new" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\Icons\cbhacks-logo-new.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

0 comments on commit 4ae78c7

Please sign in to comment.