- use real icon and fix tooltip

master
Simon G 5 years ago
parent d241abbe9f
commit 572f5ea5d6
  1. 4
      Mystify/App.axaml.cs
  2. 2
      Mystify/Views/MainWindow.axaml

@ -41,8 +41,8 @@ namespace Mystify
desktopStyleApplicationLifetime.Exit += OnExit;
_notifyIcon = _kernel.Resolve<INotifyIcon>();
_notifyIcon.ToolTipText = "Test tool tip";
_notifyIcon.IconPath = "avares://Mystify/Resources/TestIcon.ico";
_notifyIcon.ToolTipText = "Mystify";
_notifyIcon.IconPath = "avares://Mystify/Resources/MystifyIcon.ico";
ContextMenu notifyIconContextMenu = new()
{

@ -5,7 +5,7 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="Mystify.Views.MainWindow"
Icon="/Resources/TestIcon.ico"
Icon="/Resources/MystifyIcon.ico"
Title="Mystify"
Background="#FF3F3F3F"
Foreground="#FFF0F0F0">

Loading…
Cancel
Save