implement the Singleton pattern
an example: CodeProject: Simple Singleton Forms (ok, it’s in VB.NET, but just to give you a clue)
More Related Contents:
- What is a singleton in C#?
- Is the C# static constructor thread safe?
- Unity singleton manager classes
- Thread Safe C# Singleton Pattern
- The need for volatile modifier in double checked locking in .NET
- Singleton by Jon Skeet clarification
- Singleton Pattern for C# [closed]
- Serialize a Static Class?
- Dependency Injection vs Service Location
- WPF: Cannot reuse window after it has been closed
- How to implement a singleton in C#?
- getting db connection through singleton class
- Why choose a static class over a singleton implementation?
- Singleton with parameters
- Singleton double-check concurrency issue
- How to get all images from a url to picturebox in c#?
- When to use in vs ref vs out
- LINQ to SQL – Left Outer Join with multiple join conditions
- How to replace multiple white spaces with one white space
- AddBusinessDays and GetBusinessDays
- Transparency for windows forms textbox
- Error on if statement – cannot implicitly convert type to ‘bool’
- What is quicker, switch on string or elseif on type?
- Generic All Controls Method
- checking user name or user email already exists
- Is there any connection string parser in C#?
- Encoding space character in XML name
- TaskScheduler.UnobservedTaskException event handler never being triggered
- Unable to resolve service for type while attempting to activate
- no overload for method “ToString” takes 1 arguments