Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 5e00ec1

Browse files
committed
add message when start daemon on system tray
1 parent e78deed commit 5e00ec1

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

MainForm.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,13 @@ private void changeButtonState(Boolean enableButton, String text)
247247
private void updateUICurrentStatus(String text)
248248
{
249249
status.Text = text;
250+
if(tinyDrpcNotifyIcon.Visible == true)
251+
{
252+
tinyDrpcNotifyIcon.BalloonTipIcon = ToolTipIcon.Info;
253+
tinyDrpcNotifyIcon.BalloonTipText = text;
254+
tinyDrpcNotifyIcon.BalloonTipTitle = "TinyDRPC";
255+
tinyDrpcNotifyIcon.ShowBalloonTip(5000);
256+
}
250257
}
251258

252259
private void updateStatus()

build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@echo off
22

3-
rmdir /s /q ".\dist"
3+
rmdir /s /q ".\dist" ".\bin\Release"
44

55
echo Building
66
dotnet publish -c Release -o ".\dist\bin\nor2r"

0 commit comments

Comments
 (0)