C# WindowState Minimized but window title in left corner


I'm trying to have a Form that should be minimized on startup and only show up when the user klicks the NotifyIcon.

On startup the Form is minimized and ShowInTaskbar is also false but as soon as I click again on the TrayIcon the window get's minimized to the left corner and you can only see the Title Screenshot

I have no idea how to solve this "problem". When I set ShowInTaskbar to true I don't have this little title in the left corner so this seems to be a security block so the user is still able to see the form but how can I change this?

by the0MIKE via /r/csharp

Leave a Reply