How do I force a user control to have a fixed height already when dragging it from the toolbox onto a Windows form?
问题 I want my newly designed user control to have a certain fixed height, right when being double-clicked within or drag'n'dropped from the toolbox onto its parent form. For now, doing either does display the user control just in the height the user control's designer happened to have. When starting the application with the constituent user control, the UC is displayed in the desired height, when stopping the app, it retains that height. This is due to the following code: Private Sub UTest_Load