Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 330
  • Last Modified:

Panels in C#

Hi

I was wondering if it's possible to create separate panels on a form in C#, similiar to how you can create two separate panels on a GUI using Java's Swing library? And if you can, how to go about it?

Thanks in advance...
0
pikapi
Asked:
pikapi
  • 2
1 Solution
 
janeburtonCommented:
are u using visual studio?
if you are, you can just drag the panel onto the aspx page.

0
 
brandonh6kCommented:
Panels in ASP.NET are pretty easy.  Just wrap each section of the page in <asp:panel> tags as appropriate.  You can then set the visibility by panel id.

In WinForm applications, just drag the panel component into place like anything else and just drop other components on it.

Do you have a specific question about using panels?  If so, you should post more details about what you're trying to accomplish.

Brandon
0
 
brandonh6kCommented:
I personally think I should get at least partial credit for my answer.  I gave decent answers for both WinForms and WebForms despite a vague initial question.  :)

Brandon
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now