I've hit a brick wall and hoping someone could shed light.
I've got an MDI Parent and normal child forms resize fine. The problem is any child forms that inherit from a base form with a CSLA 3.7.1 implementation cannot be resized. Here is a small bare bone repro:
A response would be much appreciated. Even if this cant be done it'd be good to know?
It's got to be something with your frmMaintenanceBase. This has nothing to do with Csla
Inheritance is sometimes very cumbersome in WindowsForms.
AHA, You cannont use AutoSizeMode = GrowAndShrink.
The default value is set to
GrowOnly. This property determines the mode by which the form automatically resizes itself and takes a value from the
GrowAndShrink- The control grows or shrinks to fit its contents. The control cannot be resized manually.
GrowOnly- The control grows as much as necessary to fit its contents but does not shrink smaller than the value of its Size property. The form can be resized, but cannot be made so small that any of its contained controls are hidden.
After changing AutoSizeMode - manual resizing works fine on my computer.
Legend!!! Thanks for this JonnyBee, its a pity the form cant be shrunk but obviously thats by "some weird" design.
Copyright (c) Marimer LLC