Solved

Panels in C#

Posted on 2004-08-04
5
327 Views
Last Modified: 2010-04-15
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
Comment
Question by:pikapi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 1

Expert Comment

by:janeburton
ID: 11716841
are u using visual studio?
if you are, you can just drag the panel onto the aspx page.

0
 
LVL 3

Accepted Solution

by:
brandonh6k earned 50 total points
ID: 11718914
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
 
LVL 3

Expert Comment

by:brandonh6k
ID: 11947388
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question