Application Architecture in Windows Forms 2.0—Single-Instance Applications


Jump to: navigation, search
CSharp-Online.NET:Articles
C# Articles

Appl. Architecture Forms

© 2006 Pearson Education, Inc.

Single-Instance Applications

By default, each EXE is an application that has an independent lifetime, even if multiple instances of the same application are running at the same time. However, it’s common to want to limit an EXE to a single instance, whether it’s an SDI application with a single top-level window, an MDI application, or an SDI application with multiple top-level windows. All these kinds of applications require that another instance detect the initial instance and then cut its own lifetime short.


Previous_Page_.gif Next_Page_.gif


Personal tools