how can I move existing controls to newly created panel?

Answered how can I move existing controls to newly created panel?

  • Friday, March 23, 2012 4:40 PM
     
     

    On my form I have few controls which I would like to move in newly panel so I can hide or show all controls together with one line of code: Panel1.Visible = True. I can do that in programmatically but I just want to know is it possible throgh UI and how?

    Thanks.

All Replies

  • Friday, March 23, 2012 5:00 PM
     
     Answered
    Do you mean in the Visual Studio designer?  Just select the controls, then Cut, then click the panel and Paste.

    Jose R. MCP

    • Marked As Answer by mak102 Friday, March 23, 2012 6:28 PM
    •  
  • Friday, March 23, 2012 6:28 PM
     
     
    Thanks Jose, it worked.