Click here to Skip to main content
15,920,633 members
Home / Discussions / C#
   

C#

 
GeneralRe: Reflection question Pin
Jamie Nordmeyer25-Jan-07 4:14
Jamie Nordmeyer25-Jan-07 4:14 
Questionnewbie: DataGridView doesnt Respond for MouseClicks Pin
Monika Dotnet Newbie24-Jan-07 16:38
Monika Dotnet Newbie24-Jan-07 16:38 
AnswerRe: newbie: DataGridView doesnt Respond for MouseClicks Pin
tigreder24-Jan-07 21:56
tigreder24-Jan-07 21:56 
QuestionCommand Prompt Showing [modified] Pin
dsl/fahk24-Jan-07 16:20
dsl/fahk24-Jan-07 16:20 
AnswerRe: Command Prompt Showing Pin
ShermansLagoon24-Jan-07 20:32
ShermansLagoon24-Jan-07 20:32 
GeneralRe: Command Prompt Showing Pin
dsl/fahk25-Jan-07 0:54
dsl/fahk25-Jan-07 0:54 
QuestionInvokeRequired question Pin
JoeRip24-Jan-07 15:11
JoeRip24-Jan-07 15:11 
AnswerRe: InvokeRequired question Pin
Luc Pattyn24-Jan-07 15:17
sitebuilderLuc Pattyn24-Jan-07 15:17 
The one thing you MUST avoid is sharing Controls: a thread that did not create a Control
should not touch it (except for the three or four members that are thread-safe,
including InvokeRequired itself).

In general, having multiple threads working on the same data requires caution (which
often means locks).

The framework classes mostly follow the rule "Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe."

DateTime has that same sentence in the doc; and DateTime.Now is static, so no problem here.

Smile | :)

Luc Pattyn

GeneralRe: InvokeRequired question Pin
JoeRip24-Jan-07 15:30
JoeRip24-Jan-07 15:30 
GeneralRe: InvokeRequired question Pin
Luc Pattyn24-Jan-07 15:54
sitebuilderLuc Pattyn24-Jan-07 15:54 
QuestionC#: Syntax error in INSERT INTO statement Pin
Butterfly_h24-Jan-07 11:53
Butterfly_h24-Jan-07 11:53 
AnswerRe: "Insert into" with c# Pin
Ed.Poore24-Jan-07 12:35
Ed.Poore24-Jan-07 12:35 
GeneralRe: "Insert into" with c# Pin
Butterfly_h27-Jan-07 3:18
Butterfly_h27-Jan-07 3:18 
AnswerRe: "Insert into" with c# Pin
Christian Graus24-Jan-07 13:21
protectorChristian Graus24-Jan-07 13:21 
QuestionRe: "Insert into" with c# Pin
Butterfly_h24-Jan-07 14:00
Butterfly_h24-Jan-07 14:00 
AnswerRe: "Insert into" with c# Pin
Luc Pattyn24-Jan-07 16:16
sitebuilderLuc Pattyn24-Jan-07 16:16 
GeneralRe: "Insert into" with c# Pin
Butterfly_h24-Jan-07 23:58
Butterfly_h24-Jan-07 23:58 
AnswerRe: "Insert into" with c# Pin
eugene.genis25-Jan-07 2:01
eugene.genis25-Jan-07 2:01 
GeneralRe: "Insert into" with c# Pin
Butterfly_h25-Jan-07 2:41
Butterfly_h25-Jan-07 2:41 
GeneralRe: "Insert into" with c# Pin
Luc Pattyn25-Jan-07 2:58
sitebuilderLuc Pattyn25-Jan-07 2:58 
GeneralRe: "Insert into" with c# Pin
Butterfly_h25-Jan-07 14:56
Butterfly_h25-Jan-07 14:56 
AnswerRe: C#: Syntax error in INSERT INTO statement Pin
Butterfly_h29-Jan-07 6:40
Butterfly_h29-Jan-07 6:40 
Questionhow to set password on exe file ? Pin
hdv21224-Jan-07 11:17
hdv21224-Jan-07 11:17 
AnswerRe: how to set password on exe file ? Pin
Ed.Poore24-Jan-07 12:34
Ed.Poore24-Jan-07 12:34 
Questiondifference b/w readonly and const? Pin
Rahithi24-Jan-07 10:46
Rahithi24-Jan-07 10:46 

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.