Add project files.
This commit is contained in:
22
ModVersionChecker/managers/filesystem/NotifyIconService.cs
Normal file
22
ModVersionChecker/managers/filesystem/NotifyIconService.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using ModVersionChecker.managers.interfaces;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ModVersionChecker.managers.filesystem
|
||||
{
|
||||
public class NotifyIconService : INotifyIconService
|
||||
{
|
||||
private NotifyIcon? _notifyIcon;
|
||||
public void SetNotifyIcon(NotifyIcon icon)
|
||||
{
|
||||
_notifyIcon = icon;
|
||||
}
|
||||
public void ShowBalloonTip(int millis, string title, string message, ToolTipIcon icon)
|
||||
{
|
||||
_notifyIcon?.ShowBalloonTip(millis, title, message, icon);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user