Winforms - why does a “Show()” after a system tray double click end up in my app minimized?
问题 Winforms - why does a "Show()" after a system tray double click end up in my app minimized? How do I ensure Inthe notifyicon double click event that my hidden main form comes back visible as normal, not minimized (nor maximised for that matter too) 回答1: I would guess that you put your application in tray on minimize action. In that case, Show just restores visibility. Try adding form.WindowState = Normal before Show(). 回答2: Hiding your form with the NotifyIcon is often desirable so your app