Open falcomus opened 3 years ago
I forgot one thing: If you clicked on the Close-Button of a Material-SubForm, the application was closed. In the Demo (After) this problem is fixed, the application is only closed if the form instance is the application MainForm ...
@Ignace: Hello Ignace, I'm not sure if it is even allowed to make changes to your great source code. If so, I can send the patched files to people who are interested ...
Since MaterialSkin supports transparency, there are "holes" through which the desktop can be seen when the program is started or when the theme is changed. As a test, I changed a few things in the file "MaterialForm.cs" and "MaterialSkinManager.cs" MaterialForm.cs now has a property that can be used to control the display (FadeIn) of the form. In addition, at the point at which the controls are updated when the theme is changed, the "SuspendLayout" of the form is called before. ResumeLayout is called after all controls have been changed.
It seems like these changes have eliminated the black holes at launch and when the theme changes. If someone discovers unwanted side effects that these changes may cause, please describe them here ...
If someone like to view the demos, here the download link ...
https://c.gmx.net/@631220585132726712/hZSTaC7ySROwmT6RsqJG9A
Best regards, Claus