_notifyIcon = new NotifyIcon();
_notifyIcon.Icon = Icon.ExtractAssociatedIcon(Assembly.GetExecutingAssembly().Location);
_notifyIcon.BalloonTipClosed += (s, e) => _notifyIcon.Visible = false;
_notifyIcon.Visible = true;
_notifyIcon.ShowBalloonTip(3000, "Title here", "Message displayed.",
ToolTipIcon.None);如果我将最后一行更改为TooltipIcon.Warning或其他任何内容(信息等)它将显示一幅大图,如下所示:

但在我的例子中,我将假设我在通知中得到的图片如此之小,是因为它采用了原始大小(因为它是一个图标)。那么,如何调整大小呢?
https://stackoverflow.com/questions/51428869
复制相似问题