Click here to Skip to main content
15,916,189 members
Home / Discussions / C#
   

C#

 
AnswerRe: getting mouse position? Pin
Heath Stewart24-Mar-04 17:24
protectorHeath Stewart24-Mar-04 17:24 
QuestionHow can I save an icon? Pin
Flack24-Mar-04 14:40
Flack24-Mar-04 14:40 
AnswerRe: How can I save an icon? Pin
Heath Stewart24-Mar-04 17:21
protectorHeath Stewart24-Mar-04 17:21 
GeneralCapturing ListView scrollbar events Pin
chuck05324-Mar-04 10:45
chuck05324-Mar-04 10:45 
GeneralRe: Capturing ListView scrollbar events Pin
Heath Stewart24-Mar-04 11:24
protectorHeath Stewart24-Mar-04 11:24 
GeneralTray Icon Pin
RickZ24-Mar-04 10:34
RickZ24-Mar-04 10:34 
GeneralRe: Tray Icon Pin
Dave Kreskowiak24-Mar-04 11:08
mveDave Kreskowiak24-Mar-04 11:08 
GeneralRe: Tray Icon Pin
SapiensBwG26-Mar-04 5:41
SapiensBwG26-Mar-04 5:41 
GeneralAssembly - from Unmanaged Pin
Kant24-Mar-04 10:28
Kant24-Mar-04 10:28 
GeneralRe: Assembly - from Unmanaged Pin
Dave Kreskowiak24-Mar-04 10:33
mveDave Kreskowiak24-Mar-04 10:33 
GeneralRe: Assembly - from Unmanaged Pin
Kant24-Mar-04 11:07
Kant24-Mar-04 11:07 
GeneralRe: Assembly - from Unmanaged Pin
Heath Stewart24-Mar-04 11:22
protectorHeath Stewart24-Mar-04 11:22 
GeneralRe: Assembly - from Unmanaged Pin
Jeremy Kimball25-Mar-04 6:16
Jeremy Kimball25-Mar-04 6:16 
GeneralRe: Assembly - from Unmanaged Pin
Heath Stewart25-Mar-04 8:08
protectorHeath Stewart25-Mar-04 8:08 
GeneralRe: Assembly - from Unmanaged Pin
Jeremy Kimball25-Mar-04 9:05
Jeremy Kimball25-Mar-04 9:05 
GeneralRe: Assembly - from Unmanaged Pin
Heath Stewart25-Mar-04 9:35
protectorHeath Stewart25-Mar-04 9:35 
GeneralRe: Assembly - from Unmanaged Pin
Jeremy Kimball25-Mar-04 9:46
Jeremy Kimball25-Mar-04 9:46 
GeneralTo Heath (we talked about this subject before) Pin
profoundwhispers24-Mar-04 9:10
profoundwhispers24-Mar-04 9:10 
GeneralRe: To Heath (we talked about this subject before) Pin
Tom Larsen24-Mar-04 9:14
Tom Larsen24-Mar-04 9:14 
GeneralRe: To Heath (we talked about this subject before) Pin
profoundwhispers24-Mar-04 9:32
profoundwhispers24-Mar-04 9:32 
GeneralRe: To Heath (we talked about this subject before) Pin
Heath Stewart24-Mar-04 9:15
protectorHeath Stewart24-Mar-04 9:15 
If you remove the private default constructor, yes, the compiler will provide one.

Also, this isn't the best singleton pattern to use. The one I posted earlier was. It uses a double-check locking approach which eliminates a couple race conditions that may occur.

This has been discussed in the past in this forum so if you want to know more, try searching for "singleton" or something for the C# forum.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: To Heath (we talked about this subject before) Pin
profoundwhispers24-Mar-04 9:31
profoundwhispers24-Mar-04 9:31 
GeneralRe: To Heath (we talked about this subject before) Pin
Heath Stewart24-Mar-04 9:39
protectorHeath Stewart24-Mar-04 9:39 
GeneralWindows Media Player Pin
antoine@orchus-tech24-Mar-04 7:36
antoine@orchus-tech24-Mar-04 7:36 
GeneralRe: Windows Media Player Pin
Heath Stewart24-Mar-04 8:35
protectorHeath Stewart24-Mar-04 8:35 

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.