I have a namespace Company.UI.Forms
where we have a form base class BaseForm
that inherits from System.Windows.Forms.Form
.
I need to limit the size of this form, so that if a concrete form, say ExampleForm
, derives from BaseForm
, it should have a fixed size in the VS designer view. The fixed size should be set or defined in some way (in the BaseForm
ctor?) so that the derived ExampleForm
and the designer picks it up.
Is that possible?
[Edit] The purpose is to use the base class as a template for a full screen form for a Windows CE device of known screen size, for which I want to be able to lay out child controls in the designer.