Click here to Skip to main content
12,396,230 members (62,436 online)
   

C#

 
GeneralRe: SaveFileDialog and OverwritePrompt Pin
Alan N24-Jan-13 9:39
memberAlan N24-Jan-13 9:39 
AnswerRe: SaveFileDialog and OverwritePrompt Pin
BobJanova24-Jan-13 22:22
memberBobJanova24-Jan-13 22:22 
GeneralRe: SaveFileDialog and OverwritePrompt Pin
GenJerDan25-Jan-13 3:13
memberGenJerDan25-Jan-13 3:13 
AnswerRe: SaveFileDialog and OverwritePrompt Pin
micke.andersson28-Jan-13 2:44
membermicke.andersson28-Jan-13 2:44 
GeneralRe: SaveFileDialog and OverwritePrompt Pin
GenJerDan28-Jan-13 3:10
memberGenJerDan28-Jan-13 3:10 
QuestionThread with Message Pump Pin
Richard Andrew x6424-Jan-13 1:56
memberRichard Andrew x6424-Jan-13 1:56 
AnswerRe: Thread with Message Pump Pin
Eddy Vluggen24-Jan-13 2:49
mvpEddy Vluggen24-Jan-13 2:49 
AnswerRe: Thread with Message Pump Pin
Paulo Zemek24-Jan-13 3:49
memberPaulo Zemek24-Jan-13 3:49 
That depends on what you really need.
In my case I created a class (ActionRunner... and later a RunnableRunner). I use a Thread from my own pool of threads. It waits for a new Action (using a ManagedAutoResetEvent) and uses a Queue to effectively queue the Actions.

So, while there are items in the queue they are executed. When there are no more, an wait is done. My own ActionRunner is disposable, but that's to guarantee that I free the thread at the right moment. I consider it the best solution as it does not creates an unnecessary window and because the messages are real .Net actions (and not some number that must be processed by a switch).
AnswerRe: Thread with Message Pump Pin
BobJanova24-Jan-13 4:22
memberBobJanova24-Jan-13 4:22 
QuestionEnding session and back button after logout Pin
raviwebwonders24-Jan-13 0:24
groupraviwebwonders24-Jan-13 0:24 
AnswerRe: Ending session and back button after logout Pin
Simon_Whale24-Jan-13 0:36
memberSimon_Whale24-Jan-13 0:36 
GeneralRe: Ending session and back button after logout Pin
sahavasiwebwonders24-Jan-13 0:41
groupsahavasiwebwonders24-Jan-13 0:41 
AnswerRe: Ending session and back button after logout Pin
BobJanova24-Jan-13 1:28
memberBobJanova24-Jan-13 1:28 
GeneralRe: Ending session and back button after logout Pin
sahavasiwebwonders24-Jan-13 18:59
groupsahavasiwebwonders24-Jan-13 18:59 
QuestionTally Integration Pin
Atul Ankush Bhabal23-Jan-13 22:38
memberAtul Ankush Bhabal23-Jan-13 22:38 
AnswerRe: Tally Integration Pin
Pete O'Hanlon23-Jan-13 22:43
protectorPete O'Hanlon23-Jan-13 22:43 
QuestionHow check if a record exists before running the code to delete the record? Pin
Member 964160223-Jan-13 22:37
memberMember 964160223-Jan-13 22:37 
AnswerRe: How check if a record exists before running the code to delete the record? Pin
d@nish 23-Jan-13 22:57
member d@nish 23-Jan-13 22:57 
AnswerRe: How check if a record exists before running the code to delete the record? Pin
Richard MacCutchan23-Jan-13 23:01
mvpRichard MacCutchan23-Jan-13 23:01 
AnswerRe: How check if a record exists before running the code to delete the record? Pin
Eddy Vluggen24-Jan-13 0:43
mvpEddy Vluggen24-Jan-13 0:43 
AnswerRe: How check if a record exists before running the code to delete the record? Pin
V.24-Jan-13 1:57
memberV.24-Jan-13 1:57 
AnswerRe: How check if a record exists before running the code to delete the record? Pin
PIEBALDconsult24-Jan-13 4:40
memberPIEBALDconsult24-Jan-13 4:40 
AnswerRe: How check if a record exists before running the code to delete the record? Pin
pt140125-Jan-13 9:15
memberpt140125-Jan-13 9:15 
Questionneed the project code in c# Pin
Member 978198223-Jan-13 21:58
memberMember 978198223-Jan-13 21:58 
GeneralRe: need the project code in c# Pin
PIEBALDconsult23-Jan-13 22:01
memberPIEBALDconsult23-Jan-13 22: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.


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 24 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid