Because want to have a control only occasionally as a pop-up view controls, want to write it as a control in a dialog,
CodePudding user response:
Direct userControl1. DockStyle=DockStyle. The FillCodePudding user response:
Form is also a kind of control, but some of the attributes and methods, more can be child form as a control embedded in the parent form, but cannot be used in the design, can only be used handwritten code at runtime,CodePudding user response:
Close the window when cannot close, but with the hide,CodePudding user response:
Hide or Visiable properties