Click here to Skip to main content
15,894,539 members
Home / Discussions / C#
   

C#

 
AnswerRe: Set Tooltip to Coordinate Area of Form Pin
jgallen236-Feb-06 12:06
jgallen236-Feb-06 12:06 
QuestionAny Advise?? Service Messages Pin
Chris Cornelius6-Feb-06 10:54
Chris Cornelius6-Feb-06 10:54 
QuestionDataGridView Control .NET 2.0 Pin
usernamed6-Feb-06 9:29
usernamed6-Feb-06 9:29 
AnswerRe: DataGridView Control .NET 2.0 Pin
hpetriffer6-Feb-06 20:20
hpetriffer6-Feb-06 20:20 
AnswerRe: DataGridView Control .NET 2.0 Pin
albCode6-Feb-06 21:08
albCode6-Feb-06 21:08 
QuestionThread-safe Access to Form Controls Pin
LighthouseJ6-Feb-06 8:51
LighthouseJ6-Feb-06 8:51 
AnswerRe: Thread-safe Access to Form Controls Pin
Judah Gabriel Himango6-Feb-06 11:23
sponsorJudah Gabriel Himango6-Feb-06 11:23 
GeneralRe: Thread-safe Access to Form Controls Pin
LighthouseJ6-Feb-06 12:21
LighthouseJ6-Feb-06 12:21 
that's interesting, thanks. I unfortunately got an exception saying not enough arguments were supplied so I added in my arguments for the delegates like this:

_statusbar.Owner.Invoke((ThreadEvent)delegate
{
  _statusbar.Text = "test test, started work";
}, new Object[] { this, ThreadEventArgs("test message", 0, TheadStatusType.thread_started) });


In my original delegate, I had it declared object, ThreadEventArgs so I guess that's what it wanted.

This works, and without the form-side needing a delegate. Is that the best though? With it like this, it requires a status bar to exist in order to work. I liked the idea of triggering an event and the form can receive it if it wants to and deal with it as it sees fit.
GeneralRe: Thread-safe Access to Form Controls Pin
LighthouseJ6-Feb-06 15:46
LighthouseJ6-Feb-06 15:46 
GeneralRe: Thread-safe Access to Form Controls Pin
Judah Gabriel Himango6-Feb-06 16:09
sponsorJudah Gabriel Himango6-Feb-06 16:09 
GeneralRe: Thread-safe Access to Form Controls Pin
LighthouseJ6-Feb-06 16:44
LighthouseJ6-Feb-06 16:44 
Questionexport text/reports in XLS, HTML, PDF, DBF, XML... format Pin
MihaiChioariu6-Feb-06 8:23
MihaiChioariu6-Feb-06 8:23 
Questionweather report service Pin
balkang6-Feb-06 8:09
balkang6-Feb-06 8:09 
AnswerRe: weather report service Pin
usernamed6-Feb-06 9:38
usernamed6-Feb-06 9:38 
QuestionDrawLine question Pin
QzRz6-Feb-06 7:23
QzRz6-Feb-06 7:23 
AnswerRe: DrawLine question Pin
Guffa6-Feb-06 7:55
Guffa6-Feb-06 7:55 
QuestionHow to generate 16digit Random number using C# Pin
n_satisha6-Feb-06 7:21
n_satisha6-Feb-06 7:21 
AnswerRe: How to generate 16digit Random number using C# Pin
Colin Angus Mackay6-Feb-06 7:41
Colin Angus Mackay6-Feb-06 7:41 
GeneralRe: How to generate 16digit Random number using C# Pin
leppie6-Feb-06 7:52
leppie6-Feb-06 7:52 
AnswerRe: How to generate 16digit Random number using C# Pin
Guffa6-Feb-06 8:02
Guffa6-Feb-06 8:02 
AnswerRe: How to generate 16digit Random number using C# Pin
Sebastian Schneider6-Feb-06 10:41
Sebastian Schneider6-Feb-06 10:41 
QuestionHow to menage concurrency with timestamp (C#) Pin
ventomito6-Feb-06 6:59
ventomito6-Feb-06 6:59 
Questionuser-defined data types (definition) Pin
LuluSailor6-Feb-06 6:57
LuluSailor6-Feb-06 6:57 
AnswerRe: user-defined data types (definition) Pin
malharone6-Feb-06 7:05
malharone6-Feb-06 7:05 
QuestionForm Count Pin
deepscyberpulse6-Feb-06 6:46
deepscyberpulse6-Feb-06 6: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.