use Windows NetworkConnect stock icon for form and tray
SystemIcons.GetStockIcon(StockIconId.NetworkConnect, 32) — no external files needed.
This commit is contained in:
@@ -11,7 +11,7 @@ static class Program
|
||||
|
||||
using var tray = new NotifyIcon
|
||||
{
|
||||
Icon = SystemIcons.Application,
|
||||
Icon = SystemIcons.GetStockIcon(StockIconId.NetworkConnect, 32),
|
||||
Text = "gatuna",
|
||||
Visible = true,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user