Click here to Skip to main content
15,901,505 members
Home / Discussions / C#
   

C#

 
AnswerRe: Services and Top Most Forms Pin
AB777130-Jun-06 1:37
AB777130-Jun-06 1:37 
GeneralRe: Services and Top Most Forms Pin
DUKEMAN30-Jun-06 1:46
DUKEMAN30-Jun-06 1:46 
AnswerRe: Services and Top Most Forms Pin
pq4noeh30-Jun-06 1:50
pq4noeh30-Jun-06 1:50 
QuestionDataGrid column icon background Pin
Kais4U29-Jun-06 20:44
Kais4U29-Jun-06 20:44 
QuestionA question about Net.Socket? Pin
Phuongkar29-Jun-06 20:05
Phuongkar29-Jun-06 20:05 
AnswerRe: A question about Net.Socket? Pin
stancrm30-Jun-06 0:37
stancrm30-Jun-06 0:37 
QuestionHow to work with panels Pin
JacquesDP29-Jun-06 19:58
JacquesDP29-Jun-06 19:58 
AnswerRe: How to work with panels Pin
Martin#29-Jun-06 20:20
Martin#29-Jun-06 20:20 
In this case it would be better, to take UserControls instead of Form1 and Form2.

1)MainForm creates the instances of panel1, panel2, UserControl1 and UserControl2.

2)Than place the panels at your Mainform.
Mainform.Controls.Add(panel1);
.....

3)place the Usercontrols in the panel you whant.
Mainform.panel1.Controls.Add(UserControl1);

4)In your case it could be possible to Use the 'Dock' Property of panel (Mainform.panel1.Dock = DockStyle.left;)

5)And 'Dock' for the UserControls as well (Mainform.UserControl1.Dock = DockStyle.Fill;)

Hope that helps you!

All the best,

Martin
GeneralRe: How to work with panels Pin
JacquesDP29-Jun-06 22:16
JacquesDP29-Jun-06 22:16 
Questionchm on-line help Pin
smarttom9929-Jun-06 19:50
smarttom9929-Jun-06 19:50 
AnswerRe: chm on-line help Pin
Glen Harvy29-Jun-06 20:17
Glen Harvy29-Jun-06 20:17 
GeneralRe: chm on-line help Pin
WillemM30-Jun-06 3:35
WillemM30-Jun-06 3:35 
QuestionHow to develop a Distributed Architecture in .NET? Pin
rahulgauttam29-Jun-06 19:31
rahulgauttam29-Jun-06 19:31 
AnswerRe: How to develop a Distributed Architecture in .NET? Pin
WillemM30-Jun-06 4:02
WillemM30-Jun-06 4:02 
QuestionMessagebox Button? in .net 2005 Pin
Rohit Dev29-Jun-06 18:53
Rohit Dev29-Jun-06 18:53 
AnswerRe: Messagebox Button? in .net 2005 Pin
AB777129-Jun-06 21:08
AB777129-Jun-06 21:08 
AnswerRe: Messagebox Button? in .net 2005 Pin
StyleGuide29-Jun-06 22:20
StyleGuide29-Jun-06 22:20 
QuestionDatePicker does not display in Mozilla Firefox Pin
CandyMe29-Jun-06 17:40
CandyMe29-Jun-06 17:40 
AnswerRe: DatePicker does not display in Mozilla Firefox Pin
Abdul Gafoor29-Jun-06 18:01
Abdul Gafoor29-Jun-06 18:01 
GeneralRe: DatePicker does not display in Mozilla Firefox Pin
CandyMe29-Jun-06 21:56
CandyMe29-Jun-06 21:56 
QuestionSending an HTML page by email Pin
IndoKiwi29-Jun-06 13:54
IndoKiwi29-Jun-06 13:54 
AnswerRe: Sending an HTML page by email Pin
Sean8929-Jun-06 14:16
Sean8929-Jun-06 14:16 
QuestionCapture SelectedText from any active window PinPopular
Marian Dumitrascu29-Jun-06 13:51
professionalMarian Dumitrascu29-Jun-06 13:51 
QuestionAccessing datatable without interface. [modified] Pin
PyroManiak29-Jun-06 12:38
PyroManiak29-Jun-06 12:38 
AnswerRe: Accessing datatable without interface. Pin
Sean8929-Jun-06 14:15
Sean8929-Jun-06 14:15 

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.