Click here to Skip to main content
15,886,026 members
Home / Discussions / C#
   

C#

 
Questionmatching types for COM server??? Pin
CherezZaboro28-Sep-02 10:41
CherezZaboro28-Sep-02 10:41 
AnswerRe: matching types for COM server??? Pin
Stephane Rodriguez.28-Sep-02 21:07
Stephane Rodriguez.28-Sep-02 21:07 
GeneralRe: matching types for COM server??? Pin
CherezZaboro30-Sep-02 6:07
CherezZaboro30-Sep-02 6:07 
GeneralRe: matching types for COM server??? Pin
Stephane Rodriguez.30-Sep-02 6:13
Stephane Rodriguez.30-Sep-02 6:13 
QuestionMS-SQL connection (ADO) in C#? Pin
Derek Smigelski28-Sep-02 10:09
Derek Smigelski28-Sep-02 10:09 
AnswerRe: MS-SQL connection (ADO) in C#? Pin
Mazdak28-Sep-02 10:18
Mazdak28-Sep-02 10:18 
GeneralNeed some newbie C# help. Need dock a form to another form. Pin
Derek Smigelski28-Sep-02 9:58
Derek Smigelski28-Sep-02 9:58 
GeneralRe: Need some newbie C# help. Need dock a form to another form. Pin
Gaul28-Sep-02 13:08
Gaul28-Sep-02 13:08 
You basically need to use the DockStyle to position elements on a container type object.

You could create a panel to host your forms. Assuming Form1 is the one you want on the right side, you could do something like this:

panelRight = new Panel();
panelRight.Dock = DockStyle.Fill;
form1 = new Form1();
form1.Parent = panelRight;

panelLeft = new Panel();
panelLeft.Dock = DockStyle.Left;

splitter1 = new Splitter();
this.Controls.AddRange(new System.Windows.Forms.Control[]
{panelRight, splitter1, panelLeft});

The order of adding things to this.Controls above is important.

panelLeft could be the parent of your Outlookbar control.


Gaulles
http://www.gaulles.com
GeneralRe: Need some newbie C# help. Need dock a form to another form. Pin
Luis Alonso Ramos30-Sep-02 4:16
Luis Alonso Ramos30-Sep-02 4:16 
GeneralControl.Invalidate() Pin
Nnamdi Onyeyiri27-Sep-02 22:52
Nnamdi Onyeyiri27-Sep-02 22:52 
GeneralRe: Control.Invalidate() Pin
James T. Johnson28-Sep-02 5:02
James T. Johnson28-Sep-02 5:02 
Questioncan any body tell the syntex of reading and writing an object into file? Pin
imran_rafique27-Sep-02 16:09
imran_rafique27-Sep-02 16:09 
AnswerRe: can any body tell the syntex of reading and writing an object into file? Pin
Nnamdi Onyeyiri27-Sep-02 22:49
Nnamdi Onyeyiri27-Sep-02 22:49 
GeneralRe: can any body tell the syntex of reading and writing an object into file? Pin
imran_rafique28-Sep-02 15:22
imran_rafique28-Sep-02 15:22 
GeneralRe: can any body tell the syntex of reading and writing an object into file? Pin
Nnamdi Onyeyiri28-Sep-02 22:46
Nnamdi Onyeyiri28-Sep-02 22:46 
GeneralRe: can any body tell the syntex of reading and writing an object into file? Pin
imran_rafique29-Sep-02 15:49
imran_rafique29-Sep-02 15:49 
GeneralRe: can any body tell the syntex of reading and writing an object into file? Pin
Nnamdi Onyeyiri29-Sep-02 20:59
Nnamdi Onyeyiri29-Sep-02 20:59 
GeneralVFW in C# Pin
Jarrett Vance27-Sep-02 10:43
Jarrett Vance27-Sep-02 10:43 
GeneralRe: VFW in C# Pin
Stephane Rodriguez.27-Sep-02 22:29
Stephane Rodriguez.27-Sep-02 22:29 
GeneralRe: VFW in C# Pin
Daniel Strigl29-Sep-02 20:15
Daniel Strigl29-Sep-02 20:15 
GeneralWindows Form Designer Pin
Nnamdi Onyeyiri27-Sep-02 8:38
Nnamdi Onyeyiri27-Sep-02 8:38 
GeneralRe: Windows Form Designer Pin
leppie27-Sep-02 9:15
leppie27-Sep-02 9:15 
GeneralRe: Windows Form Designer Pin
Nnamdi Onyeyiri27-Sep-02 9:26
Nnamdi Onyeyiri27-Sep-02 9:26 
GeneralRe: Windows Form Designer Pin
Maciej Pirog27-Sep-02 9:48
Maciej Pirog27-Sep-02 9:48 
GeneralRe: Windows Form Designer Pin
leppie27-Sep-02 9:55
leppie27-Sep-02 9:55 

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.