1 form = 1 process?

  • Thread starter Thread starter Tim Johnson
  • Start date Start date
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
 
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
 
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
 
Back
Top