Click here to Skip to main content
15,915,791 members
Home / Discussions / C#
   

C#

 
AnswerRe: Hot keys Pin
stancrm29-Jun-06 23:18
stancrm29-Jun-06 23:18 
GeneralRe: Hot keys Pin
Prashant Gadhave29-Jun-06 23:37
Prashant Gadhave29-Jun-06 23:37 
GeneralRe: Hot keys Pin
stancrm30-Jun-06 0:24
stancrm30-Jun-06 0:24 
QuestionServices and Top Most Forms Pin
DUKEMAN29-Jun-06 22:19
DUKEMAN29-Jun-06 22:19 
AnswerRe: Services and Top Most Forms Pin
Martin#29-Jun-06 23:59
Martin#29-Jun-06 23:59 
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 

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.