IgnaceMaes / MaterialSkin

Theming .NET WinForms, C# or VB.Net, to Google's Material Design Principles.
MIT License
2.84k stars 831 forks source link

Can't close and maximize in window 10 #119

Open NHLinh opened 7 years ago

NHLinh commented 7 years ago

It because oldState is MaxOver instead of MaxDown.

Open MaterialForm and change this code (you should modify other code realated too)

        if ((oldState == ButtonState.MaxDown || oldState == ButtonState.MaxOver) && up)