Click here to Skip to main content
15,907,492 members
Home / Discussions / C#
   

C#

 
AnswerRe: Non blocking TCP Pin
Alex Manolescu13-May-10 8:48
Alex Manolescu13-May-10 8:48 
AnswerRe: Non blocking TCP Pin
jschell13-May-10 8:56
jschell13-May-10 8:56 
Questionhow to return sublist Pin
igalep13213-May-10 3:30
igalep13213-May-10 3:30 
AnswerRe: how to return sublist Pin
Nuri Ismail13-May-10 3:44
Nuri Ismail13-May-10 3:44 
GeneralRe: how to return sublist Pin
igalep13213-May-10 3:53
igalep13213-May-10 3:53 
GeneralRe: how to return sublist [modified] Pin
Nuri Ismail13-May-10 4:42
Nuri Ismail13-May-10 4:42 
GeneralRe: how to return sublist Pin
igalep13216-May-10 11:26
igalep13216-May-10 11:26 
QuestionApplication/Framework for rapid small-application-development available? Pin
Frygreen13-May-10 2:06
Frygreen13-May-10 2:06 
AnswerRe: Application/Framework for rapid small-application-development available? Pin
Richard MacCutchan13-May-10 3:15
mveRichard MacCutchan13-May-10 3:15 
QuestionSave "app.config" configuration-file does not work Pin
Frygreen13-May-10 1:39
Frygreen13-May-10 1:39 
AnswerRe: Save "app.config" configuration-file does not work Pin
Arun Jacob13-May-10 1:48
Arun Jacob13-May-10 1:48 
GeneralRe: Save "app.config" configuration-file does not work Pin
Frygreen13-May-10 2:10
Frygreen13-May-10 2:10 
AnswerRe: Save "app.config" configuration-file does not work Pin
wasifmuneer13-May-10 1:48
wasifmuneer13-May-10 1:48 
GeneralRe: Save "app.config" configuration-file does not work Pin
Frygreen13-May-10 2:14
Frygreen13-May-10 2:14 
Questionshowing form from thread Pin
Sunshine Always13-May-10 1:15
Sunshine Always13-May-10 1:15 
QuestionRe: showing form from thread Pin
wasifmuneer13-May-10 1:45
wasifmuneer13-May-10 1:45 
AnswerRe: showing form from thread Pin
Sunshine Always13-May-10 2:09
Sunshine Always13-May-10 2:09 
AnswerRe: showing form from thread Pin
Luc Pattyn13-May-10 3:21
sitebuilderLuc Pattyn13-May-10 3:21 
AnswerRe: showing form from thread Pin
The Man from U.N.C.L.E.13-May-10 3:47
The Man from U.N.C.L.E.13-May-10 3:47 
GeneralRe: showing form from thread Pin
Sunshine Always14-May-10 1:41
Sunshine Always14-May-10 1:41 
GeneralRe: showing form from thread Pin
The Man from U.N.C.L.E.14-May-10 3:26
The Man from U.N.C.L.E.14-May-10 3:26 
AnswerRe: showing form from thread Pin
DaveyM6913-May-10 5:31
professionalDaveyM6913-May-10 5:31 
GeneralRe: showing form from thread Pin
The Man from U.N.C.L.E.13-May-10 6:43
The Man from U.N.C.L.E.13-May-10 6:43 
It works, but ugh!

The main message loop that started Form1 will end when that closes, fire any application clean-up code you wrote and leave Form2 orphaned.

It is a bit like firing up another application using Process.Start. Form2 would have to be treated as a separate application and the start thread must do all the usual stuff you need to run, and shut down an application. On the down side, they would reside in the same AppDomain and a crash in either thread would then kill both, also communication between the parts would be a nightmare.

I'm not sure how they manage it, but I guess Office does something similar for Word and Excel etc. where it appears to fire up a new instance of Word for each document, and they can be closed independently, however only one process is running.

Interestingly in the browser world things are moving the other way, eg. Google Chrome runs each tab in a separate Process, so you get one apparent application but multiple processes!
If you have knowledge, let others light their candles at it.
Margaret Fuller (1810 - 1850)
[My Articles]  [My Website]

GeneralRe: showing form from thread Pin
DaveyM6913-May-10 9:24
professionalDaveyM6913-May-10 9:24 
AnswerRe: showing form from thread Pin
#realJSOP13-May-10 6:28
professional#realJSOP13-May-10 6:28 

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.