Click here to Skip to main content
15,892,298 members
Home / Discussions / C#
   

C#

 
GeneralRe: DataTable output to string with filter Pin
Sascha Lefèvre17-Apr-15 9:53
professionalSascha Lefèvre17-Apr-15 9:53 
GeneralRe: DataTable output to string with filter Pin
Blubbo17-Apr-15 9:56
Blubbo17-Apr-15 9:56 
GeneralRe: DataTable output to string with filter Pin
Sascha Lefèvre17-Apr-15 11:52
professionalSascha Lefèvre17-Apr-15 11:52 
AnswerRe: DataTable output to string with filter Pin
Sascha Lefèvre17-Apr-15 10:26
professionalSascha Lefèvre17-Apr-15 10:26 
GeneralRe: DataTable output to string with filter Pin
Blubbo20-Apr-15 1:52
Blubbo20-Apr-15 1:52 
GeneralRe: DataTable output to string with filter Pin
Sascha Lefèvre20-Apr-15 1:57
professionalSascha Lefèvre20-Apr-15 1:57 
QuestionTime delay without freezing the GUI Pin
Member 1085025317-Apr-15 5:24
Member 1085025317-Apr-15 5:24 
AnswerRe: Time delay without freezing the GUI Pin
OriginalGriff17-Apr-15 5:46
mveOriginalGriff17-Apr-15 5:46 
Use a Timer: https://msdn.microsoft.com/en-us/library/system.timers.timer(v=vs.110).aspx[^]
Set the interval to 1000, handle the Tick event, and start the timer. The tick event will occur every one second (or thereabouts) so you can do what you want until then.

The other solution is to use a BackgroundWorker[^] to move your "delayable" code onto a different thread, so your GUI doesn't freeze - but then you can't directly update the GUI controls, you have to Invoke them.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

GeneralRe: Time delay without freezing the GUI Pin
PIEBALDconsult17-Apr-15 6:46
mvePIEBALDconsult17-Apr-15 6:46 
GeneralRe: Time delay without freezing the GUI Pin
Member 1085025317-Apr-15 7:03
Member 1085025317-Apr-15 7:03 
GeneralRe: Time delay without freezing the GUI Pin
Sascha Lefèvre17-Apr-15 7:37
professionalSascha Lefèvre17-Apr-15 7:37 
GeneralRe: Time delay without freezing the GUI Pin
Eddy Vluggen17-Apr-15 8:23
professionalEddy Vluggen17-Apr-15 8:23 
AnswerRe: Time delay without freezing the GUI Pin
Richard MacCutchan17-Apr-15 5:46
mveRichard MacCutchan17-Apr-15 5:46 
QuestionLock client application (controlled) on call for Form Pin
Member 998884817-Apr-15 4:03
Member 998884817-Apr-15 4:03 
AnswerRe: Lock client application (controlled) on call for Form Pin
Dave Kreskowiak17-Apr-15 4:11
mveDave Kreskowiak17-Apr-15 4:11 
GeneralRe: Lock client application (controlled) on call for Form Pin
Member 998884817-Apr-15 4:19
Member 998884817-Apr-15 4:19 
GeneralRe: Lock client application (controlled) on call for Form Pin
Dave Kreskowiak17-Apr-15 4:24
mveDave Kreskowiak17-Apr-15 4:24 
QuestionHow to solve this Error?? Error_2_Cannot implicitly convert type 'int' to 'int[]' Pin
Member 1099471216-Apr-15 22:42
Member 1099471216-Apr-15 22:42 
AnswerRe: How to solve this Error?? Error_2_Cannot implicitly convert type 'int' to 'int[]' Pin
OriginalGriff16-Apr-15 23:16
mveOriginalGriff16-Apr-15 23:16 
GeneralRe: How to solve this Error?? Error_2_Cannot implicitly convert type 'int' to 'int[]' Pin
Member 1099471216-Apr-15 23:29
Member 1099471216-Apr-15 23:29 
GeneralRe: How to solve this Error?? Error_2_Cannot implicitly convert type 'int' to 'int[]' Pin
Pete O'Hanlon16-Apr-15 23:40
mvePete O'Hanlon16-Apr-15 23:40 
GeneralRe: How to solve this Error?? Error_2_Cannot implicitly convert type 'int' to 'int[]' Pin
OriginalGriff16-Apr-15 23:43
mveOriginalGriff16-Apr-15 23:43 
GeneralRe: How to solve this Error?? Error_2_Cannot implicitly convert type 'int' to 'int[]' Pin
Pete O'Hanlon16-Apr-15 23:54
mvePete O'Hanlon16-Apr-15 23:54 
GeneralRe: How to solve this Error?? Error_2_Cannot implicitly convert type 'int' to 'int[]' Pin
Member 1099471217-Apr-15 0:36
Member 1099471217-Apr-15 0:36 
GeneralRe: How to solve this Error?? Error_2_Cannot implicitly convert type 'int' to 'int[]' Pin
Pete O'Hanlon17-Apr-15 0:41
mvePete O'Hanlon17-Apr-15 0:41 

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.