Click here to Skip to main content
15,888,454 members
Home / Discussions / C#
   

C#

 
GeneralRe: Parsing Tab Delimited File Pin
Colin Angus Mackay15-Feb-04 14:24
Colin Angus Mackay15-Feb-04 14:24 
GeneralRe: Parsing Tab Delimited File Pin
Verdant12315-Feb-04 14:51
Verdant12315-Feb-04 14:51 
GeneralRe: Parsing Tab Delimited File Pin
Werdna15-Feb-04 16:45
Werdna15-Feb-04 16:45 
GeneralRe: Parsing Tab Delimited File Pin
Verdant12315-Feb-04 16:47
Verdant12315-Feb-04 16:47 
GeneralRe: Parsing Tab Delimited File Pin
Daniel Turini16-Feb-04 1:59
Daniel Turini16-Feb-04 1:59 
GeneralRe: Parsing Tab Delimited File Pin
Verdant12316-Feb-04 7:55
Verdant12316-Feb-04 7:55 
Questionhow to restrict appearance of child forms Pin
visiontec15-Feb-04 13:29
visiontec15-Feb-04 13:29 
AnswerRe: how to restrict appearance of child forms Pin
Colin Angus Mackay15-Feb-04 14:40
Colin Angus Mackay15-Feb-04 14:40 
visiontec wrote:
How can i restrict the appearance of child forms?

This is ambiguous. Appearance in this context could mean the number of times it appears or the way it looks.


visiontec wrote:
i only want 1 instance of a particular child form
how do i do that?


Apply the singleton pattern to it. Actually, I'm not too sure whether that is completely wise or not in the context of a form. If your not already aware, a "singleton" is a class that only ever has one instance in existance at any time (some more strickter definitions might even say only one instance ever). This is acomplished by making the constructor private, creating static field of the class type and creating a static method that creates the one and only instance or returns the existing instance. If you need to know more about singletons just ask and I, or someone else, will help you out.




EuroCPian Spring 2004 Get Together[^]
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
"Get in touch with your Inner Capitalist - I wish you much success!" -- Christopher Duncan, Lounge 9-Feb-2004


GeneralTab Pages Navigation Pin
visiontec15-Feb-04 12:58
visiontec15-Feb-04 12:58 
GeneralRe: Tab Pages Navigation Pin
Heath Stewart16-Feb-04 5:48
protectorHeath Stewart16-Feb-04 5:48 
QuestionRemoting? Pin
Kevin Tambascio15-Feb-04 12:39
Kevin Tambascio15-Feb-04 12:39 
AnswerRe: Remoting? Pin
Marc Clifton15-Feb-04 15:42
mvaMarc Clifton15-Feb-04 15:42 
GeneralRe: Remoting? Pin
Kevin Tambascio16-Feb-04 3:09
Kevin Tambascio16-Feb-04 3:09 
GeneralRe: Remoting? Pin
Marc Clifton16-Feb-04 9:29
mvaMarc Clifton16-Feb-04 9:29 
GeneralRe: Remoting? Pin
Kevin Tambascio16-Feb-04 16:29
Kevin Tambascio16-Feb-04 16:29 
Generalneed urgent help with CSIDL_HISTORY Pin
Lesuran15-Feb-04 4:01
Lesuran15-Feb-04 4:01 
GeneralRe: need urgent help with CSIDL_HISTORY Pin
Heath Stewart16-Feb-04 5:46
protectorHeath Stewart16-Feb-04 5:46 
GenerallistView items icons Pin
morgan3715-Feb-04 3:39
morgan3715-Feb-04 3:39 
GeneralRe: listView items icons Pin
Heath Stewart16-Feb-04 5:40
protectorHeath Stewart16-Feb-04 5:40 
GeneralDouble quotes in a string Pin
Anonymous15-Feb-04 2:23
Anonymous15-Feb-04 2:23 
GeneralRe: Double quotes in a string Pin
Corinna John15-Feb-04 4:19
Corinna John15-Feb-04 4:19 
GeneralRe: Double quotes in a string Pin
Heath Stewart16-Feb-04 5:37
protectorHeath Stewart16-Feb-04 5:37 
GeneralAccelerate dataset in c# Pin
mhmoud rawas14-Feb-04 22:36
mhmoud rawas14-Feb-04 22:36 
GeneralRe: Accelerate dataset in c# Pin
Mazdak15-Feb-04 1:38
Mazdak15-Feb-04 1:38 
GeneralRe: Accelerate dataset in c# Pin
mhmoud rawas15-Feb-04 1:50
mhmoud rawas15-Feb-04 1:50 

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.