Click here to Skip to main content
15,941,973 members
Home / Discussions / C#
   

C#

 
QuestionIs possible to use the same background process for all forms? Pin
Member 1405587922-Jan-23 10:29
Member 1405587922-Jan-23 10:29 
AnswerRe: Is possible to use the same background process for all forms? Pin
Dave Kreskowiak22-Jan-23 13:15
mveDave Kreskowiak22-Jan-23 13:15 
AnswerRe: Is possible to use the same background process for all forms? Pin
Gerry Schmitz22-Jan-23 18:34
mveGerry Schmitz22-Jan-23 18:34 
AnswerRe: Is possible to use the same background process for all forms? Pin
OriginalGriff22-Jan-23 18:49
mveOriginalGriff22-Jan-23 18:49 
AnswerRe: Is possible to use the same background process for all forms? Pin
jschell24-Jan-23 10:27
jschell24-Jan-23 10:27 
Question"the horror:" why does C# let me get away with this ? Pin
BillWoodruff15-Jan-23 3:17
professionalBillWoodruff15-Jan-23 3:17 
AnswerRe: "the horror:" why does C# let me get away with this ? Pin
OriginalGriff15-Jan-23 4:00
mveOriginalGriff15-Jan-23 4:00 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
BillWoodruff15-Jan-23 4:48
professionalBillWoodruff15-Jan-23 4:48 
Interesting, thanks; I'm using VS Version 17.4.4; I'm not seeing amy warnings/messages in Error window at either build time or run-time.

I eyeball the myriad 'Options for VS/Debugging, and it looks like everything is enabled that would catch any error, etc.

Ahhh ... one Googling later ... I did not have the 'Build + Intellisense' filter option set in the Error Window, but, I still build and run with no exception thrown.

Yes, I do see CS108 which mentions using 'new.

I have checked all the options the Break On Errors TreeView.

p.s. note that without the 'new modifier the call in 'stuff2 is accessing the const vale defined in'dtuff2: #45
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch

GeneralRe: "the horror:" why does C# let me get away with this ? Pin
Graeme_Grant15-Jan-23 5:00
mvaGraeme_Grant15-Jan-23 5:00 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
BillWoodruff15-Jan-23 5:20
professionalBillWoodruff15-Jan-23 5:20 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
OriginalGriff15-Jan-23 5:07
mveOriginalGriff15-Jan-23 5:07 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
Graeme_Grant15-Jan-23 5:11
mvaGraeme_Grant15-Jan-23 5:11 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
OriginalGriff15-Jan-23 5:37
mveOriginalGriff15-Jan-23 5:37 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
Graeme_Grant15-Jan-23 5:47
mvaGraeme_Grant15-Jan-23 5:47 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
OriginalGriff15-Jan-23 5:55
mveOriginalGriff15-Jan-23 5:55 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
BillWoodruff15-Jan-23 16:52
professionalBillWoodruff15-Jan-23 16:52 
PraiseRe: "the horror:" why does C# let me get away with this ? Pin
RedDk15-Jan-23 5:31
RedDk15-Jan-23 5:31 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
OriginalGriff15-Jan-23 5:39
mveOriginalGriff15-Jan-23 5:39 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
Richard MacCutchan15-Jan-23 6:32
mveRichard MacCutchan15-Jan-23 6:32 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
OriginalGriff15-Jan-23 7:34
mveOriginalGriff15-Jan-23 7:34 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
RedDk15-Jan-23 6:49
RedDk15-Jan-23 6:49 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
BillWoodruff15-Jan-23 16:57
professionalBillWoodruff15-Jan-23 16:57 
AnswerRe: "the horror:" why does C# let me get away with this ? Pin
jschell15-Jan-23 8:05
jschell15-Jan-23 8:05 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
BillWoodruff15-Jan-23 17:13
professionalBillWoodruff15-Jan-23 17:13 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
lmoelleb17-Jan-23 23:10
lmoelleb17-Jan-23 23:10 

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.