Home > Net >  A custom control to block in the window
A custom control to block in the window

Time:11-04

To write a custom control death in a window, and I call direct call window as a custom controls, control the control of the pop-up,
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 Fill

CodePudding 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
  •  Tags:  
  • C#
  • Related