Form.ControlCollection(Form) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the Form.ControlCollection class.
public:
ControlCollection(System::Windows::Forms::Form ^ owner);
public ControlCollection (System.Windows.Forms.Form owner);
new System.Windows.Forms.Form.ControlCollection : System.Windows.Forms.Form -> System.Windows.Forms.Form.ControlCollection
Public Sub New (owner As Form)
Parameters
Remarks
This constructor allows you to properly bind the control collection to the form to enable controls to be added to the form.
Note
Because the control collection must be created with a specified form, you cannot create multiple collections of controls and interchange them with the form.
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.