Compare commits
1
Commits
1.0.12
..
287c008117
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
287c008117 |
@@ -93,6 +93,8 @@ namespace WorkIndicator
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
_dispatcher.Invoke(() => TrayIcon.ShowUpdateMessage(message));
|
_dispatcher.Invoke(() => TrayIcon.ShowUpdateMessage(message));
|
||||||
|
|
||||||
|
TrayIcon.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnExit(ExitEventArgs e)
|
protected override void OnExit(ExitEventArgs e)
|
||||||
|
|||||||
+1
-1
@@ -70,7 +70,7 @@ namespace WorkIndicator
|
|||||||
|
|
||||||
public static void ShowUpdateMessage(string text)
|
public static void ShowUpdateMessage(string text)
|
||||||
{
|
{
|
||||||
_trayIcon.ShowBalloonTip(250, Resources.ApplicationName, text, ToolTipIcon.None);
|
_trayIcon.ShowBalloonTip(200, Resources.ApplicationName, text, ToolTipIcon.None);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void HandleContextMenuStripOpening(object sender, System.ComponentModel.CancelEventArgs e)
|
static void HandleContextMenuStripOpening(object sender, System.ComponentModel.CancelEventArgs e)
|
||||||
|
|||||||
Reference in New Issue
Block a user