@@ -21,7 +21,6 @@ internal class SystemTray : ApplicationContext
2121 private readonly ToolStripMenuItem _exit ;
2222 private readonly NotifyIcon _notifyIcon ;
2323 private readonly ToolStripMenuItem _showTaskbarWhenExit ;
24- private readonly ToolStripMenuItem _smallIcon ;
2524
2625 public SystemTray ( )
2726 {
@@ -36,11 +35,6 @@ public SystemTray()
3635 Text = resource . GetString ( LangName . TrayAbout ) ,
3736 Font = font
3837 } ;
39- _smallIcon = new ToolStripMenuItem
40- {
41- Text = resource . GetString ( LangName . TraySmallIcon ) ,
42- Font = font
43- } ;
4438 _animation = new ToolStripMenuItem
4539 {
4640 Text = resource . GetString ( LangName . TrayAnimation ) ,
@@ -69,8 +63,6 @@ public SystemTray()
6963 _contextMenuStrip . Items . AddRange ( new ToolStripItem [ ]
7064 {
7165 _about ,
72- new ToolStripSeparator ( ) ,
73- _smallIcon ,
7466 _animation ,
7567 new ToolStripSeparator ( ) ,
7668 _autoMode ,
@@ -92,8 +84,6 @@ public SystemTray()
9284
9385 _about . Click += AboutOnClick ;
9486
95- _smallIcon . Click += SmallIconOnClick ;
96-
9787 _animation . Click += AnimationOnClick ;
9888
9989 _autoMode . Click += AutoModeOnClick ;
@@ -130,8 +120,6 @@ private void NotifyIconOnMouseClick(object s, MouseEventArgs e)
130120
131121 _animation . Checked = Fun . IsEnableTaskbarAnimation ( ) ;
132122
133- _smallIcon . Checked = Fun . IsUseSmallIcon ( ) ;
134-
135123 _showTaskbarWhenExit . Checked = UserSettings . ShowTaskbarWhenExit ;
136124
137125 switch ( UserSettings . AutoModeType )
@@ -213,8 +201,6 @@ private void AutoModeOnClick(object s, EventArgs e)
213201
214202 private void AnimationOnClick ( object s , EventArgs e ) { _animation . Checked = Fun . ChangeTaskbarAnimation ( ) ; }
215203
216- private void SmallIconOnClick ( object s , EventArgs e ) { Fun . ChangeIconSize ( ) ; }
217-
218204 private void AboutOnClick ( object s , EventArgs e )
219205 {
220206 Process . Start ( @"https://github.com/ChanpleCai/SmartTaskbar" ) ;
0 commit comments