1 form = 1 process?

T

Tim Johnson

I've been noticing that for each form I show in my app, using ShowDialog (a
shows b, b shows c, c shows d), I see a copy of my app in the
Settings/Memory/Running Programs. Sometimes killing 1 kills them all,
sometimes not (not sure of the context yet). What's that all about?

--

Tim Johnson
High Point Software, Inc.
www.high-point.com
(503) 312-8625
 
D

Daniel Moth

That list is not of processes; it is of top level windows hence your
observation.

There is no "sometimes". If you close the main form (the one shown with
Application.Run) your app will close (If MinimizeBox=false) otherwise it is
just the form that closes.

Cheers
Daniel
 
T

Tim Johnson

Thanks. What I meant by "sometimes" is when the app gets hung during
development, closing any 1 closes all of them, after a "not responding"
window pops. Which makes sense too.

--

Tim Johnson
High Point Software, Inc.
www.high-point.com
(503) 312-8625
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top