Click here to Skip to main content
15,903,033 members
Home / Discussions / C#
   

C#

 
AnswerRe: Show Internet Optiions Dialog with C# [modified] Pin
Shajeel26-May-06 1:32
Shajeel26-May-06 1:32 
GeneralRe: Show Internet Optiions Dialog with C# [modified] Pin
Adiphe26-May-06 1:38
Adiphe26-May-06 1:38 
AnswerRe: Show Internet Optiions Dialog with C# [modified] Pin
Shajeel26-May-06 2:24
Shajeel26-May-06 2:24 
GeneralRe: Show Internet Optiions Dialog with C# [modified] Pin
Adiphe26-May-06 2:47
Adiphe26-May-06 2:47 
QuestionCLONE FORM Pin
Greeky26-May-06 0:52
Greeky26-May-06 0:52 
AnswerRe: CLONE FORM Pin
Robert Rohde26-May-06 1:49
Robert Rohde26-May-06 1:49 
Questionduplicate items in treeview [modified] Pin
lushgrass26-May-06 0:34
lushgrass26-May-06 0:34 
QuestionShowing and hiding controls [modified] Pin
travellermania26-May-06 0:27
travellermania26-May-06 0:27 
I have an application that has 3 panels one on top of the other.
Each panel contains several control.
I also have a toolbar that I am using to navigate between the panels using the SendToBack() and BringToFront() methods and with the Hide() and Show() methods.
For some reason when I want to show the the 3rd panel, I get the controls of the first panel together with the 3rd panel.
This problem doesn't happen when I display the 2nd panel or the first panel.
Help will be appreciated.
Topaz
P.S.
this is the code:
			switch(e.Button.Text)
			{
				case "Option 1":
					this.panelOption2.SendToBack();
					this.panelOption3.SendToBack();
					this.panelOption1.BringToFront();
					this.panelOption1.Show();

					this.panelOption2.Hide();			
					this.panelOption3.Hide();

					break;
				case "Option 2":
					this.panelOption1.SendToBack();
					this.panelOption3.SendToBack();
					this.panelOption2.BringToFront();
					this.panelOption2.Show();

					this.panelOption3.Hide();
					break;				
				case "Option 3":					
					this.panelOption2.Show();
					this.panelOption2.SendToBack();
					this.panelOption1.SendToBack();
					this.panelOption3.BringToFront();
					
					this.panelOption3.Show();
					break;
				default:
					break;
			}
<pre>


 -- modified at 6:31 Friday 26th May, 2006

AnswerRe: Showing and hiding controls Pin
Larantz26-May-06 0:34
Larantz26-May-06 0:34 
GeneralRe: Showing and hiding controls Pin
travellermania26-May-06 0:49
travellermania26-May-06 0:49 
GeneralRe: Showing and hiding controls Pin
Robert Rohde26-May-06 1:46
Robert Rohde26-May-06 1:46 
GeneralRe: Showing and hiding controls [modified] Pin
travellermania26-May-06 21:43
travellermania26-May-06 21:43 
AnswerRe: Showing and hiding controls [modified] Pin
Robert Rohde26-May-06 0:41
Robert Rohde26-May-06 0:41 
AnswerRe: Showing and hiding controls [modified] Pin
LongRange.Shooter26-May-06 4:06
LongRange.Shooter26-May-06 4:06 
QuestionSelected a listviewitem Pin
NewbieDude25-May-06 23:56
NewbieDude25-May-06 23:56 
AnswerRe: Selected a listviewitem Pin
Ed.Poore26-May-06 0:21
Ed.Poore26-May-06 0:21 
Questionhowto get data in datatable ? Pin
cmpeng3425-May-06 23:38
cmpeng3425-May-06 23:38 
AnswerRe: howto get data in datatable ? Pin
albCode25-May-06 23:52
albCode25-May-06 23:52 
GeneralMessage Closed Pin
25-May-06 23:57
cmpeng3425-May-06 23:57 
GeneralRe: howto get data in datatable ? [modified] Pin
Larantz26-May-06 0:17
Larantz26-May-06 0:17 
QuestionHelp with calling NetFileEnum from NetApi32.dll Pin
dlaw148925-May-06 23:05
dlaw148925-May-06 23:05 
Questiona question about displaying time ? help ... Pin
cmpeng3425-May-06 23:05
cmpeng3425-May-06 23:05 
AnswerRe: a question about displaying time ? help ... Pin
_AK_25-May-06 23:14
_AK_25-May-06 23:14 
AnswerRe: a question about displaying time ? help ... Pin
rah_sin25-May-06 23:21
professionalrah_sin25-May-06 23:21 
GeneralRe: a question about displaying time ? help ... [modified] Pin
albCode25-May-06 23:28
albCode25-May-06 23:28 

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.