Click here to Skip to main content
15,888,521 members
Home / Discussions / C#
   

C#

 
GeneralRe: Convert to hex [modified] Pin
Eslam Afifi16-Jun-08 10:53
Eslam Afifi16-Jun-08 10:53 
GeneralRe: Convert to hex Pin
Susanmat16-Jun-08 20:26
Susanmat16-Jun-08 20:26 
AnswerRe: Convert to hex Pin
Eslam Afifi17-Jun-08 2:20
Eslam Afifi17-Jun-08 2:20 
GeneralRe: Convert to hex Pin
Susanmat17-Jun-08 19:34
Susanmat17-Jun-08 19:34 
GeneralRe: Convert to hex Pin
Eslam Afifi17-Jun-08 20:39
Eslam Afifi17-Jun-08 20:39 
QuestionCode for detecting all the firewalls installed on a system Pin
Neeraj Kr15-Jun-08 21:03
Neeraj Kr15-Jun-08 21:03 
AnswerRe: Code for detecting all the firewalls installed on a system Pin
Simon P Stevens16-Jun-08 1:57
Simon P Stevens16-Jun-08 1:57 
QuestionSwitching between forms Pin
Christian Flutcher15-Jun-08 20:10
Christian Flutcher15-Jun-08 20:10 
I have to switch between forms in my application. I don't need classical MDI look and feel. So I created all my forms as controls. Created a single form with a panel and the navigation panel. When items are clicked on the navigation panel, I am adding corresponding control to the panel. It works for the first time, but when I click 2nd time on the button, it's not showing. So I called Panel.Controls.Clear() before I add controls. It is working fine now.

Is this approach correct ? Or is there any other efficient methods available ? Here is sample code
this.panel1.Controls.Clear();
form1.Dock = DockStyle.Fill;
form1.BringToFront();
form1.Visible = true;
this.panel1.Controls.Add(form1);


NOTE : form1 is a user control here and not a form.

Any ideas will be helpful.
AnswerRe: Switching between forms Pin
Simon P Stevens16-Jun-08 2:00
Simon P Stevens16-Jun-08 2:00 
Questiondefault constructor? Pin
George_George15-Jun-08 19:25
George_George15-Jun-08 19:25 
AnswerRe: default constructor? Pin
S. Senthil Kumar15-Jun-08 19:31
S. Senthil Kumar15-Jun-08 19:31 
GeneralRe: default constructor? Pin
George_George15-Jun-08 19:36
George_George15-Jun-08 19:36 
GeneralRe: default constructor? Pin
Christian Flutcher15-Jun-08 20:13
Christian Flutcher15-Jun-08 20:13 
GeneralRe: default constructor? Pin
S. Senthil Kumar15-Jun-08 20:40
S. Senthil Kumar15-Jun-08 20:40 
GeneralRe: default constructor? Pin
Christian Flutcher15-Jun-08 20:44
Christian Flutcher15-Jun-08 20:44 
GeneralRe: default constructor? Pin
George_George15-Jun-08 20:45
George_George15-Jun-08 20:45 
GeneralRe: default constructor? Pin
Guffa15-Jun-08 21:39
Guffa15-Jun-08 21:39 
GeneralRe: default constructor? Pin
George_George15-Jun-08 21:48
George_George15-Jun-08 21:48 
GeneralRe: default constructor? Pin
Guffa15-Jun-08 22:05
Guffa15-Jun-08 22:05 
GeneralRe: default constructor? Pin
George_George15-Jun-08 22:17
George_George15-Jun-08 22:17 
GeneralRe: default constructor? Pin
Guffa16-Jun-08 1:12
Guffa16-Jun-08 1:12 
GeneralRe: default constructor? Pin
George_George16-Jun-08 22:25
George_George16-Jun-08 22:25 
GeneralRe: default constructor? Pin
S. Senthil Kumar15-Jun-08 23:11
S. Senthil Kumar15-Jun-08 23:11 
GeneralRe: default constructor? Pin
Guffa16-Jun-08 1:03
Guffa16-Jun-08 1:03 
GeneralRe: default constructor? Pin
S. Senthil Kumar15-Jun-08 20:45
S. Senthil Kumar15-Jun-08 20:45 

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.