diff --git a/RunCat/Program.cs b/RunCat/Program.cs index 72e9fb85..9b1a9c5d 100644 --- a/RunCat/Program.cs +++ b/RunCat/Program.cs @@ -122,6 +122,8 @@ public RunCatApplicationContext() Visible = true }; + notifyIcon.DoubleClick += new EventHandler(HandleDoubleClick); + UpdateThemeIcons(); SetAnimation(); CPUTick(); @@ -290,6 +292,11 @@ private void StartObserveCPU() cpuTimer.Tick += new EventHandler(ObserveCPUTick); cpuTimer.Start(); } + + private void HandleDoubleClick(object Sender, EventArgs e) + { + System.Diagnostics.Process.Start("taskmgr.exe"); + } } }