Click here to Skip to main content
15,890,397 members
Home / Discussions / C#
   

C#

 
AnswerRe: Focus previous TextBox Pin
Eslam Afifi15-Sep-08 21:34
Eslam Afifi15-Sep-08 21:34 
QuestionIs there any interest in C# RTP implementation ? Pin
Ivar Lumi15-Sep-08 20:56
Ivar Lumi15-Sep-08 20:56 
AnswerRe: Is there any interest in C# RTP implementation ? Pin
speedofspin17-Sep-08 5:35
speedofspin17-Sep-08 5:35 
GeneralRe: Is there any interest in C# RTP implementation ? Pin
Ivar Lumi17-Sep-08 20:48
Ivar Lumi17-Sep-08 20:48 
QuestionHow to add input language for multi language Pin
Software_Guy_12315-Sep-08 20:25
Software_Guy_12315-Sep-08 20:25 
AnswerRe: How to add input language for multi language Pin
Nagy Vilmos15-Sep-08 22:08
professionalNagy Vilmos15-Sep-08 22:08 
GeneralRe: How to add input language for multi language Pin
Software_Guy_12315-Sep-08 22:59
Software_Guy_12315-Sep-08 22:59 
QuestionWorking with threads. Pin
CodingLover15-Sep-08 19:00
CodingLover15-Sep-08 19:00 
Hi all,

I read a file and send streams to another method. It's working fine. But all messages are feeding very quickly. So I want to delay within each message. So I do the following

public void ReadFile()<br />
{<br />
  // Do the processing of the file and get the stream<br />
<br />
  Thread.Sleep(20);<br />
<br />
  AnotherMethod(stream); // Sen to another method<br />
}


All those things start on a button click event. Once started the process, my GUI get freeze until finish the process. After that I can drag it and so on. Without the thread I use, there is no any issue.

Can someone tell me what should I do to fix this.

Thanks a lot.

I appreciate your help all the time...
CodingLover Smile | :)

AnswerRe: Working with threads. Pin
Eslam Afifi15-Sep-08 19:25
Eslam Afifi15-Sep-08 19:25 
GeneralRe: Working with threads. Pin
CodingLover16-Sep-08 20:03
CodingLover16-Sep-08 20:03 
AnswerRe: Working with threads. Pin
N a v a n e e t h15-Sep-08 20:14
N a v a n e e t h15-Sep-08 20:14 
GeneralRe: Working with threads. Pin
CodingLover16-Sep-08 20:04
CodingLover16-Sep-08 20:04 
QuestionRe: Working with threads. Pin
Mark Salsbery16-Sep-08 8:47
Mark Salsbery16-Sep-08 8:47 
NewsRe: Working with threads. Pin
CodingLover16-Sep-08 20:05
CodingLover16-Sep-08 20:05 
QuestionEvent handler for check box Pin
sirisha guttikonda15-Sep-08 18:43
sirisha guttikonda15-Sep-08 18:43 
AnswerRe: Event handler for check box Pin
Eslam Afifi15-Sep-08 19:15
Eslam Afifi15-Sep-08 19:15 
QuestionBinding to a DataGridView problem Pin
Richard Blythe15-Sep-08 17:33
Richard Blythe15-Sep-08 17:33 
AnswerRe: Binding to a DataGridView problem Pin
Harvey Saayman15-Sep-08 20:39
Harvey Saayman15-Sep-08 20:39 
QuestionTurn an array or arraylist into a text file? Pin
gigahertz20515-Sep-08 17:19
gigahertz20515-Sep-08 17:19 
AnswerRe: Turn an array or arraylist into a text file? Pin
N a v a n e e t h15-Sep-08 17:24
N a v a n e e t h15-Sep-08 17:24 
QuestionHow Do I Force Out ToolTips on DataGridViewCells? Pin
That Asian Guy15-Sep-08 16:57
That Asian Guy15-Sep-08 16:57 
Questionprinting using RDLC questions Pin
Jassim Rahma15-Sep-08 16:14
Jassim Rahma15-Sep-08 16:14 
AnswerRe: printing using RDLC questions Pin
Jassim Rahma16-Sep-08 22:54
Jassim Rahma16-Sep-08 22:54 
GeneralRe: printing using RDLC questions Pin
Jassim Rahma21-Sep-08 0:48
Jassim Rahma21-Sep-08 0:48 
AnswerRe: printing using RDLC questions Pin
Naji El Kotob26-Oct-09 4:01
Naji El Kotob26-Oct-09 4:01 

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.