Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
AnswerRe: Memory leaks while calling functions from another assembly. Pin
David Knechtges8-Sep-10 3:42
David Knechtges8-Sep-10 3:42 
GeneralRe: Memory leaks while calling functions from another assembly. Pin
Aseem Sharma8-Sep-10 3:59
Aseem Sharma8-Sep-10 3:59 
AnswerRe: Memory leaks while calling functions from another assembly. Pin
Jason J. Chase12-Sep-10 20:31
Jason J. Chase12-Sep-10 20:31 
QuestionThread.Join() and GUI Pin
Keith Vitali8-Sep-10 0:39
Keith Vitali8-Sep-10 0:39 
AnswerRe: Thread.Join() and GUI Pin
Luc Pattyn8-Sep-10 0:59
sitebuilderLuc Pattyn8-Sep-10 0:59 
AnswerRe: Thread.Join() and GUI Pin
Kubajzz8-Sep-10 1:03
Kubajzz8-Sep-10 1:03 
AnswerRe: Thread.Join() and GUI Pin
Fayu8-Sep-10 4:09
Fayu8-Sep-10 4:09 
AnswerRe: Thread.Join() and GUI Pin
samuelms8-Sep-10 7:10
samuelms8-Sep-10 7:10 
As others have said, I also recommend the BackgroundWorker, b/c it works very well and was designed to be used in conjunction with a UI. I'm curious, however, why you need a background thread at all if you do not want your GUI to be responsive. You could just do everything in the main thread if you don't want the GUI to be responsive.

Also, have you considered setting Enabled = false on controls you do not want the user clicking (since you don't want them messing with things). An easier mechanism is to put controls in a panel (or container) and set Enabled = false on the panel (or container). This way the GUI is still responsive (no stupid white "not responding" window) but the user can't update / click fields either.
Questionunable to create shortcut for the application on desktop using setup and deployment project Pin
NarVish7-Sep-10 22:28
NarVish7-Sep-10 22:28 
AnswerRe: unable to create shortcut for the application on desktop using setup and deployment project Pin
Richard MacCutchan8-Sep-10 3:07
mveRichard MacCutchan8-Sep-10 3:07 
QuestionAssigning ICON to new file type (*.dtl) Pin
himuskanhere7-Sep-10 20:06
himuskanhere7-Sep-10 20:06 
AnswerRe: Assigning ICON to new file type (*.dtl) Pin
Calla7-Sep-10 20:50
Calla7-Sep-10 20:50 
GeneralRe: Assigning ICON to new file type (*.dtl) Pin
himuskanhere7-Sep-10 22:45
himuskanhere7-Sep-10 22:45 
QuestionIntroduction to C# application with SQL db Pin
Chesnokov Yuriy7-Sep-10 19:10
professionalChesnokov Yuriy7-Sep-10 19:10 
QuestionAccessing CANdb Database file in C# Pin
Niungareamit7-Sep-10 18:46
Niungareamit7-Sep-10 18:46 
AnswerRe: Accessing CANdb Database file in C# Pin
SeMartens8-Sep-10 0:09
SeMartens8-Sep-10 0:09 
AnswerRe: Accessing CANdb Database file in C# Pin
Dave Kreskowiak8-Sep-10 3:56
mveDave Kreskowiak8-Sep-10 3:56 
QuestionCase for .net remoting Pin
faheemnadeem7-Sep-10 15:45
faheemnadeem7-Sep-10 15:45 
AnswerRe: Case for .net remoting Pin
brunoseixas9-Sep-10 9:40
brunoseixas9-Sep-10 9:40 
QuestionDoEvents() and System.Threading.Timer Pin
Keith Vitali7-Sep-10 13:16
Keith Vitali7-Sep-10 13:16 
AnswerRe: DoEvents() and System.Threading.Timer Pin
Keith Vitali7-Sep-10 13:45
Keith Vitali7-Sep-10 13:45 
AnswerRe: DoEvents() and System.Threading.Timer Pin
Luc Pattyn7-Sep-10 14:20
sitebuilderLuc Pattyn7-Sep-10 14:20 
GeneralRe: DoEvents() and System.Threading.Timer Pin
Keith Vitali8-Sep-10 0:34
Keith Vitali8-Sep-10 0:34 
GeneralRe: DoEvents() and System.Threading.Timer Pin
Luc Pattyn8-Sep-10 0:45
sitebuilderLuc Pattyn8-Sep-10 0:45 
QuestionWould like a blank string as default vaule for a combo box that is bound Pin
BraveKnightFSJ7-Sep-10 9:44
BraveKnightFSJ7-Sep-10 9:44 

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.