Click here to Skip to main content
15,891,951 members
Home / Discussions / C#
   

C#

 
Questionhow can i increament an integer variable by one when the application has two threads running? Pin
shanjaf1-Mar-09 1:40
shanjaf1-Mar-09 1:40 
AnswerRe: how can i increament an integer variable by one when the application has two threads running? Pin
Calin Tatar1-Mar-09 1:59
Calin Tatar1-Mar-09 1:59 
AnswerRe: how can i increament an integer variable by one when the application has two threads running? Pin
waqarmushtaq845-Mar-09 2:41
waqarmushtaq845-Mar-09 2:41 
QuestionOpen Form Incide another Form Pin
CristianConrads1-Mar-09 0:58
CristianConrads1-Mar-09 0:58 
AnswerRe: Open Form Incide another Form Pin
Henry Minute1-Mar-09 1:19
Henry Minute1-Mar-09 1:19 
GeneralRe: Open Form Incide another Form Pin
Trooks1-Mar-09 3:08
Trooks1-Mar-09 3:08 
GeneralRe: Open Form Incide another Form Pin
CristianConrads1-Mar-09 3:22
CristianConrads1-Mar-09 3:22 
GeneralRe: Open Form Incide another Form Pin
Henry Minute1-Mar-09 7:16
Henry Minute1-Mar-09 7:16 
GeneralRe: Open Form Incide another Form Pin
Henry Minute1-Mar-09 7:30
Henry Minute1-Mar-09 7:30 
AnswerRe: Open Form Incide another Form Pin
Peter_Weber1-Mar-09 2:37
Peter_Weber1-Mar-09 2:37 
GeneralRe: Open Form Incide another Form Pin
CristianConrads1-Mar-09 3:00
CristianConrads1-Mar-09 3:00 
GeneralRe: Open Form Incide another Form Pin
Peter_Weber1-Mar-09 3:15
Peter_Weber1-Mar-09 3:15 
AnswerRe: Open Form Incide another Form Pin
Eddy Vluggen1-Mar-09 6:39
professionalEddy Vluggen1-Mar-09 6:39 
AnswerRe: Open Form Incide another Form [modified] Pin
0x3c01-Mar-09 7:06
0x3c01-Mar-09 7:06 
AnswerRe: Open Form Incide another Form Pin
Luis Alonso Ramos1-Mar-09 12:59
Luis Alonso Ramos1-Mar-09 12:59 
If you use MDI, you can't exactly control where the MdiClient (which is where MDI children are located) window goes.

However, I would try this (I once tried something similar and it worked):

1. Create your main form
2. Set its IsMdiContainer property to true
3. Add a panel and dock it to the left of your main form.

[EDIT: If you want a splitter, add it here and also dock it to the left. But don't add a SplitContainer, but an original Splitter[^] control.]

4. Add the TreeView and whatever else inside that panel

When you create MDI children, they will be located inside the MDI client area, which will be to the right of your tree view.

I hope this helps Smile | :)

Luis Alonso Ramos
Intelectix
Chihuahua, Mexico

My Blog!

AnswerSolution [modified] Pin
CristianConrads2-Mar-09 12:59
CristianConrads2-Mar-09 12:59 
QuestionDesktop Calender Repost Pin
WinSolution28-Feb-09 23:22
WinSolution28-Feb-09 23:22 
AnswerRe: Desktop Calender Repost Pin
0x3c028-Feb-09 23:30
0x3c028-Feb-09 23:30 
GeneralRe: Desktop Calender Repost Pin
WinSolution1-Mar-09 0:04
WinSolution1-Mar-09 0:04 
GeneralRe: Desktop Calender Repost Pin
0x3c01-Mar-09 0:22
0x3c01-Mar-09 0:22 
GeneralRe: Desktop Calender Repost Pin
WinSolution1-Mar-09 2:32
WinSolution1-Mar-09 2:32 
GeneralRe: Desktop Calender Repost Pin
0x3c01-Mar-09 6:27
0x3c01-Mar-09 6:27 
AnswerRe: Desktop Calender Repost Pin
AKNR Chandra Sekhar19-Mar-09 8:47
AKNR Chandra Sekhar19-Mar-09 8:47 
QuestionSaving User and Application Settings in WinForms Pin
Sokka9328-Feb-09 21:29
Sokka9328-Feb-09 21:29 
AnswerRe: Saving User and Application Settings in WinForms Pin
ABitSmart1-Mar-09 0:30
ABitSmart1-Mar-09 0:30 

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.