Click here to Skip to main content
15,905,008 members
Home / Discussions / C#
   

C#

 
GeneralRe: Design Time issue of Windows Control? Pin
MudkiSekhon8-Sep-06 19:47
MudkiSekhon8-Sep-06 19:47 
QuestionHow to implement a singleton in c# generic classes Pin
Chris Richner8-Sep-06 5:19
Chris Richner8-Sep-06 5:19 
AnswerRe: How to implement a singleton in c# generic classes [modified] Pin
Jun Du8-Sep-06 6:21
Jun Du8-Sep-06 6:21 
GeneralRe: How to implement a singleton in c# generic classes Pin
Chris Richner9-Sep-06 4:27
Chris Richner9-Sep-06 4:27 
GeneralRe: How to implement a singleton in c# generic classes Pin
Jun Du9-Sep-06 4:53
Jun Du9-Sep-06 4:53 
AnswerRe: How to implement a singleton in c# generic classes Pin
Daniel Grunwald9-Sep-06 6:41
Daniel Grunwald9-Sep-06 6:41 
AnswerRe: Accessing a static field on a generic class? Pin
Chris Richner10-Sep-06 9:28
Chris Richner10-Sep-06 9:28 
QuestionWindow Form Refresh during code execution. Pin
sir_chuy8-Sep-06 4:40
sir_chuy8-Sep-06 4:40 
Hello all,

I have created an application that scans web server logs for specific patterns of traffic. The scan works fantastic and considering the amount of logs it needs to scan, works fairly quickly.

The problem: I have created a status section on my Windows form that updates the status of what file is currently being scanned and what line it's on. As long that the window keeps the focus, the status area works great. If I move the focus to another window and return, the GUI doesn't refresh, but my app is still running correctly.

I have tried launching the scanning method into a new thread and that allows the GUI to refresh, but the application's performance is greatly effected.

Any thoughts on how I can refresh the GUI without multithreading the application? I can give more details if needed.

Thanks!!

SirChuy
AnswerRe: Window Form Refresh during code execution. Pin
Judah Gabriel Himango8-Sep-06 5:32
sponsorJudah Gabriel Himango8-Sep-06 5:32 
GeneralRe: Window Form Refresh during code execution. Pin
sir_chuy8-Sep-06 7:17
sir_chuy8-Sep-06 7:17 
QuestionGet only file name from str Pin
papa808-Sep-06 4:11
papa808-Sep-06 4:11 
AnswerRe: Get only file name from str Pin
User 66588-Sep-06 4:16
User 66588-Sep-06 4:16 
GeneralRe: Get only file name from str Pin
Not Active8-Sep-06 4:36
mentorNot Active8-Sep-06 4:36 
GeneralRe: Get only file name from str Pin
User 66588-Sep-06 4:57
User 66588-Sep-06 4:57 
GeneralRe: Get only file name from str Pin
Dave Kreskowiak8-Sep-06 9:13
mveDave Kreskowiak8-Sep-06 9:13 
GeneralRe: Get only file name from str Pin
papa808-Sep-06 4:57
papa808-Sep-06 4:57 
GeneralRe: Get only file name from str Pin
Dave Kreskowiak8-Sep-06 9:16
mveDave Kreskowiak8-Sep-06 9:16 
AnswerRe: Get only file name from str Pin
BoneSoft8-Sep-06 5:43
BoneSoft8-Sep-06 5:43 
Questionemail attachments Pin
eggsovereasy8-Sep-06 4:08
eggsovereasy8-Sep-06 4:08 
AnswerRe: email attachments Pin
Judah Gabriel Himango8-Sep-06 5:11
sponsorJudah Gabriel Himango8-Sep-06 5:11 
GeneralRe: email attachments Pin
eggsovereasy8-Sep-06 5:37
eggsovereasy8-Sep-06 5:37 
Question__FUNCTION__, __FILE__, __LINE__ in C#? Pin
Christopher Stratmann8-Sep-06 4:06
Christopher Stratmann8-Sep-06 4:06 
AnswerRe: __FUNCTION__, __FILE__, __LINE__ in C#? Pin
Judah Gabriel Himango8-Sep-06 4:45
sponsorJudah Gabriel Himango8-Sep-06 4:45 
QuestionPainting own toolstrip progress bar? Pin
Dominik Reichl8-Sep-06 3:40
Dominik Reichl8-Sep-06 3:40 
AnswerRe: Painting own toolstrip progress bar? Pin
Ravi Bhavnani8-Sep-06 7:38
professionalRavi Bhavnani8-Sep-06 7:38 

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.