Dela via


How to: Copy Controls Between Windows Forms

A control may be copied onto the same form, onto another form within the project, or onto the Clipboard for use in other solutions.

To copy a control

  • Select the control, and from the Edit menu choose Copy.

This control can now be pasted to any form that accepts that type of control. Additionally, the control has been added to the Clipboard.

See Also

Tasks

How to: Add Controls to Windows Forms

How to: Add ActiveX Controls to Windows Forms

How to: Add Controls Without a User Interface to Windows Forms

How to: Set the Text Displayed by a Windows Forms Control

Reference

Windows Forms Controls by Function

Other Resources

Windows Forms Controls

Arranging Controls on Windows Forms

Putting Controls on Windows Forms

Labeling Individual Windows Forms Controls and Providing Shortcuts to Them

Controls to Use on Windows Forms