Click here to Skip to main content
15,887,746 members
Home / Discussions / C#
   

C#

 
AnswerRe: convert VB code to C# code Pin
J4amieC8-Sep-10 22:02
J4amieC8-Sep-10 22:02 
AnswerRe: convert VB code to C# code Pin
AspDotNetDev9-Sep-10 13:04
protectorAspDotNetDev9-Sep-10 13:04 
QuestionHiding/Showing panels Pin
Megidolaon8-Sep-10 12:46
Megidolaon8-Sep-10 12:46 
AnswerRe: Hiding/Showing panels Pin
Luc Pattyn8-Sep-10 14:05
sitebuilderLuc Pattyn8-Sep-10 14:05 
AnswerRe: Hiding/Showing panels Pin
Dave Kreskowiak8-Sep-10 18:08
mveDave Kreskowiak8-Sep-10 18:08 
AnswerRe: Hiding/Showing panels Pin
The Man from U.N.C.L.E.9-Sep-10 7:34
The Man from U.N.C.L.E.9-Sep-10 7:34 
AnswerRe: Hiding/Showing panels Pin
Megidolaon9-Sep-10 8:15
Megidolaon9-Sep-10 8:15 
GeneralRe: Hiding/Showing panels Pin
OriginalGriff9-Sep-10 8:51
mveOriginalGriff9-Sep-10 8:51 
Megidolaon wrote:
Apparently it didn't work because I had one panel over the other.


It's not that at all. Let me run through the sequence of events you went through to construct this:
1) create two panels, one above the other. (could be side by side, I dunno).
2) Put controls on each panel.
3) Drag one panel over the other so they are in the same place.

Now, when you make one visible and one invisible, you see one panel.
When you make that panel invisibile, and the other visible, you see no panels.

This is because when you dragged one panel onto the other it became a child of the panel you dropped it on. So when you make the master panel invisible, you hide all it's children - including the other panel.

Leave them separate, and move them with your code in the form load event. It'll work now...

Or better, use a TabControl instead of panels...it is a lot easier to maintain in the designer! Big Grin | :-D
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

GeneralRe: Hiding/Showing panels Pin
Luc Pattyn9-Sep-10 13:47
sitebuilderLuc Pattyn9-Sep-10 13:47 
GeneralRe: Hiding/Showing panels Pin
Megidolaon9-Sep-10 14:42
Megidolaon9-Sep-10 14:42 
GeneralRe: Hiding/Showing panels Pin
Luc Pattyn9-Sep-10 14:51
sitebuilderLuc Pattyn9-Sep-10 14:51 
GeneralRe: Hiding/Showing panels Pin
Megidolaon9-Sep-10 17:49
Megidolaon9-Sep-10 17:49 
Question10 band equalizer using DIRECTX in C# Pin
Nishad Ullaskumar P8-Sep-10 7:28
Nishad Ullaskumar P8-Sep-10 7:28 
AnswerRe: 10 band equalizer using DIRECTX in C# Pin
Dave Kreskowiak8-Sep-10 10:32
mveDave Kreskowiak8-Sep-10 10:32 
AnswerRe: 10 band equalizer using DIRECTX in C# [ignore] Pin
Ravi Bhavnani9-Sep-10 9:00
professionalRavi Bhavnani9-Sep-10 9:00 
QuestionXML Document Reader [modified] Pin
raghavsesh8-Sep-10 5:58
raghavsesh8-Sep-10 5:58 
AnswerRe: XML Document Reader Pin
Richard MacCutchan8-Sep-10 7:24
mveRichard MacCutchan8-Sep-10 7:24 
GeneralRe: XML Document Reader Pin
raghavsesh8-Sep-10 23:22
raghavsesh8-Sep-10 23:22 
AnswerRe: XML Document Reader Pin
PIEBALDconsult8-Sep-10 13:51
mvePIEBALDconsult8-Sep-10 13:51 
AnswerRe: XML Document Reader Pin
Luc Pattyn8-Sep-10 14:52
sitebuilderLuc Pattyn8-Sep-10 14:52 
GeneralRe: XML Document Reader Pin
PIEBALDconsult8-Sep-10 16:56
mvePIEBALDconsult8-Sep-10 16:56 
GeneralRe: XML Document Reader Pin
Luc Pattyn8-Sep-10 17:02
sitebuilderLuc Pattyn8-Sep-10 17:02 
GeneralRe: XML Document Reader Pin
raghavsesh8-Sep-10 23:47
raghavsesh8-Sep-10 23:47 
GeneralRe: XML Document Reader Pin
Pete O'Hanlon9-Sep-10 0:12
mvePete O'Hanlon9-Sep-10 0:12 
AnswerRe: XML Document Reader Pin
JohnLBevan9-Sep-10 1:48
professionalJohnLBevan9-Sep-10 1:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.