Tray icon implementation.

This commit is contained in:
Burak Kaan Köse
2025-10-04 15:46:05 +02:00
parent a00ff3df46
commit 3b1eff1702
7 changed files with 309 additions and 0 deletions
@@ -0,0 +1,36 @@
using System;
namespace Wino.Core.Domain.Interfaces;
public interface ISystemTrayService
{
/// <summary>
/// Initializes the system tray icon.
/// </summary>
void Initialize();
/// <summary>
/// Shows the system tray icon.
/// </summary>
void Show();
/// <summary>
/// Hides the system tray icon.
/// </summary>
void Hide();
/// <summary>
/// Event fired when the tray icon is double-clicked.
/// </summary>
event EventHandler? TrayIconDoubleClicked;
/// <summary>
/// Gets whether the tray icon is currently minimized.
/// </summary>
bool IsMinimizedToTray { get; }
/// <summary>
/// Disposes of the system tray resources.
/// </summary>
void Dispose();
}