Click here to Skip to main content
14,738,362 members
Home » Discussions » C#
   

C#

 
QuestionMaskedTextBox Time Validation in Visual C#.Net Pin
somagunasekaran9-Jul-08 22:33
Membersomagunasekaran9-Jul-08 22:33 
QuestionHow to pass value from thread to GUI in C# Pin
Susanmat9-Jul-08 22:32
MemberSusanmat9-Jul-08 22:32 
AnswerRe: How to pass value from thread to GUI in C# Pin
N a v a n e e t h9-Jul-08 23:38
MemberN a v a n e e t h9-Jul-08 23:38 
GeneralRe: How to pass value from thread to GUI in C# Pin
Susanmat9-Jul-08 23:57
MemberSusanmat9-Jul-08 23:57 
GeneralRe: How to pass value from thread to GUI in C# Pin
Daniel Grunwald10-Jul-08 0:22
MemberDaniel Grunwald10-Jul-08 0:22 
GeneralRe: How to pass value from thread to GUI in C# Pin
Susanmat10-Jul-08 1:26
MemberSusanmat10-Jul-08 1:26 
GeneralRe: How to pass value from thread to GUI in C# Pin
N a v a n e e t h10-Jul-08 2:43
MemberN a v a n e e t h10-Jul-08 2:43 
AnswerRe: How to pass value from thread to GUI in C# Pin
RK KL10-Jul-08 6:31
MemberRK KL10-Jul-08 6:31 
You might want to take a look at BackgroundWorker object. An example might look like the following, depending on your needs.

_bw = new BackgroundWorker();
_bw.RunWorkerCompleted += new RunWorkerCompletedEventHandler(Worker_RunWorkerCompleted);
_bw.ProgressChanged += new ProgressChangedEventHandler(Worker_ProgressChanged);
_bw.DoWork += new DoWorkEventHandler(Worker_DoWork);
_bw.WorkerReportsProgress = true;
_bw.WorkerSupportsCancellation = true;

Look at 

_bw.ReportProgress(..) method

GeneralRe: How to pass value from thread to GUI in C# Pin
Susanmat10-Jul-08 22:13
MemberSusanmat10-Jul-08 22:13 
Questionexecute sql Pin
arkiboys9-Jul-08 22:02
Memberarkiboys9-Jul-08 22:02 
AnswerRe: execute sql Pin
Ashfield9-Jul-08 22:24
MemberAshfield9-Jul-08 22:24 
QuestionConnection to MySQL Pin
D i x y9-Jul-08 20:56
MemberD i x y9-Jul-08 20:56 
AnswerRe: Connection to MySQL Pin
N a v a n e e t h9-Jul-08 21:22
MemberN a v a n e e t h9-Jul-08 21:22 
AnswerRe: Connection to MySQL Pin
User 66589-Jul-08 21:24
MemberUser 66589-Jul-08 21:24 
GeneralRe: Connection to MySQL Pin
D i x y9-Jul-08 21:34
MemberD i x y9-Jul-08 21:34 
GeneralRe: Connection to MySQL Pin
User 66589-Jul-08 21:45
MemberUser 66589-Jul-08 21:45 
AnswerRe: Connection to MySQL Pin
sacr839-Jul-08 23:58
Membersacr839-Jul-08 23:58 
QuestionHow to rename a file? Pin
Saiyed Alam9-Jul-08 20:31
MemberSaiyed Alam9-Jul-08 20:31 
AnswerRe: How to rename a file? Pin
User 66589-Jul-08 21:20
MemberUser 66589-Jul-08 21:20 
Questionbindingsource.filter syntax question Pin
crash8939-Jul-08 19:39
Membercrash8939-Jul-08 19:39 
Questiontimer does not work Pin
benjamin yap9-Jul-08 19:13
Memberbenjamin yap9-Jul-08 19:13 
AnswerRe: timer does not work Pin
mav.northwind9-Jul-08 20:09
Membermav.northwind9-Jul-08 20:09 
GeneralRe: timer does not work Pin
benjamin yap9-Jul-08 20:34
Memberbenjamin yap9-Jul-08 20:34 
GeneralRe: timer does not work Pin
Seishin#9-Jul-08 22:58
MemberSeishin#9-Jul-08 22:58 
QuestionTHE PRINTER Pin
Silvyster9-Jul-08 18:53
MemberSilvyster9-Jul-08 18:53 

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.