Method SetSizeHints
SetSizeHints(Control)
This method first calls Fit(Control) and then SetSizeHints() on the control passed to it.
void SetSizeHints(Control control)
Parameters
control
ControlAffected control.
Remarks
This function is only when control is actually a Window, since SetSizeHints only has any effect in these classes. It does nothing in normal controls.