leocb / MaterialSkin

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

why I run MaterialSkinExample as administrator then minimize the window to the taskbar #202

Closed hwenjun closed 3 years ago

hwenjun commented 3 years ago

1/ run MaterialSkinExample application as administrator 2/ minimize the window to the taskbar 3/ Re-click the application under the taskbar 4/ The MaterialSkinExample can't open.

I find on paint event didn't be firing in material form class run as administrator, I attemp to override WndProc to get the message which indicate the form has been activated and force form to Invalidate, but it doesn't work.I hope you can check codes and I want to know why it is.Anyway, I like material concept.

leocb commented 3 years ago

Duplicated #75 Please check existing issues before opening a new one Thanks