This repository was archived by the owner on Aug 29, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -46,18 +46,16 @@ private void MainForm_Load(object sender, EventArgs e)
4646
4747 runMinimized . Enabled = runOnStartup . Checked ;
4848
49- if ( runMinimized . Enabled && runOnStartup . Enabled )
49+ if ( config . runMinimized && config . runOnStartup )
5050 {
51-
5251 System . Threading . Timer timer = new System . Threading . Timer ( new TimerCallback ( ( obj ) =>
5352 {
5453 this . Invoke ( new MethodInvoker ( delegate ( )
5554 {
5655 tinyDrpcNotifyIcon . Visible = true ;
5756 Hide ( ) ;
5857 } ) ) ;
59- } ) , null , 1 , Timeout . Infinite ) ;
60-
58+ } ) , null , 50 , Timeout . Infinite ) ;
6159 }
6260
6361 if ( config . saveRunningState == true && config . lastStateIsRunning == true )
@@ -247,13 +245,6 @@ private void changeButtonState(Boolean enableButton, String text)
247245 private void updateUICurrentStatus ( String text )
248246 {
249247 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- }
257248 }
258249
259250 private void updateStatus ( )
You can’t perform that action at this time.
0 commit comments