Frank (ITG) asked 2016-06-21 13:42:00 UTC
Added the Classic-2 theme. It has metrics similar to VWG. The problem with going from VWG to Wisej is that VWG messed up the size/client-size of forms.
In VWG the form sets and serializes Size instead of ClientSize.
It also applies the Size as if it was the ClientSize and enforces MinSize and MaxSize on the client instead of the overall size.
Wisej preserves the ClientSize and enforces MaxSize and MinSize on the overall size, which is the correct implementation.
To go from VWG to Wisej without messing up the size of a form, regardless of the theme:
Frank (ITG) asked 2016-06-21 13:42:00 UTC
Added the Classic-2 theme. It has metrics similar to VWG. The problem with going from VWG to Wisej is that VWG messed up the size/client-size of forms.
In VWG the form sets and serializes Size instead of ClientSize.
It also applies the Size as if it was the ClientSize and enforces MinSize and MaxSize on the client instead of the overall size.
Wisej preserves the ClientSize and enforces MaxSize and MinSize on the overall size, which is the correct implementation.
To go from VWG to Wisej without messing up the size of a form, regardless of the theme:
Replace all this.Size to this.ClientSize in Form.desiger.cs/
Either remove or recalculate MinSize and MaxSize to enforce the overall size.