I have a winform with the minimizeMaximizeClose buttons disabled, but still if someone presses it in the task bar, it will minimize. I want to prevent this from happening.
If it's suitable for you, just hide it from the taskbar: ShowInTaskbar=false
ShowInTaskbar=false