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

C#

 
GeneralRe: How to create folder Pin
sugunavathysubramanian27-Feb-08 0:27
sugunavathysubramanian27-Feb-08 0:27 
GeneralRe: How to create folder Pin
Justin Perez27-Feb-08 4:25
Justin Perez27-Feb-08 4:25 
AnswerRe: How to create folder Pin
Giorgi Dalakishvili26-Feb-08 23:59
mentorGiorgi Dalakishvili26-Feb-08 23:59 
Generalproblem with richtextbox Keypress Event Pin
DKalepu26-Feb-08 23:31
DKalepu26-Feb-08 23:31 
GeneralRe: problem with richtextbox Keypress Event Pin
telha27-Feb-08 1:25
telha27-Feb-08 1:25 
GeneralRe: problem with richtextbox Keypress Event Pin
DKalepu27-Feb-08 19:03
DKalepu27-Feb-08 19:03 
GeneralPausing thread untill asynchronous operation finishes. Pin
N a v a n e e t h26-Feb-08 23:28
N a v a n e e t h26-Feb-08 23:28 
GeneralRe: Pausing thread untill asynchronous operation finishes. Pin
Martin#26-Feb-08 23:47
Martin#26-Feb-08 23:47 
Hello,

If you mean Stop and Start the MainThread and you have the instance of the main Window for example.
You could call something like this from your working thread.
private void StopThread()
{
    if(InvokeRequired)
    {
        Invoke.....
        return;
    }
 
    Thread actThread = Thread.CurrentThread;
    actThread.Suspend(); // to start use "actThread.Start();"
}


All the best,

Martin

GeneralRe: Pausing thread untill asynchronous operation finishes. Pin
N a v a n e e t h27-Feb-08 0:00
N a v a n e e t h27-Feb-08 0:00 
GeneralRe: Pausing thread untill asynchronous operation finishes. Pin
buchstaben27-Feb-08 0:49
buchstaben27-Feb-08 0:49 
GeneralRe: Pausing thread untill asynchronous operation finishes. Pin
N a v a n e e t h27-Feb-08 1:00
N a v a n e e t h27-Feb-08 1:00 
GeneralRe: Pausing thread untill asynchronous operation finishes. Pin
Bekjong27-Feb-08 1:35
Bekjong27-Feb-08 1:35 
AnswerRe: Pausing thread untill asynchronous operation finishes. Pin
telha27-Feb-08 1:27
telha27-Feb-08 1:27 
GeneralRe: Pausing thread untill asynchronous operation finishes. Pin
pbraun27-Feb-08 9:14
pbraun27-Feb-08 9:14 
GeneralAuto Run Procedures In Windows App Pin
GermanDM26-Feb-08 23:05
GermanDM26-Feb-08 23:05 
GeneralRe: Auto Run Procedures In Windows App Pin
jowecape27-Feb-08 1:07
jowecape27-Feb-08 1:07 
GeneralRe: Auto Run Procedures In Windows App Pin
GermanDM27-Feb-08 1:19
GermanDM27-Feb-08 1:19 
GeneralRe: Auto Run Procedures In Windows App Pin
buchstaben27-Feb-08 1:10
buchstaben27-Feb-08 1:10 
GeneralRe: Auto Run Procedures In Windows App Pin
GermanDM27-Feb-08 1:20
GermanDM27-Feb-08 1:20 
GeneralCross-thread operation not valid: Control 'button1' accessed from a thread other than the thread it was created on. Pin
NarVish26-Feb-08 23:00
NarVish26-Feb-08 23:00 
AnswerRe: Cross-thread operation not valid: Control 'button1' accessed from a thread other than the thread it was created on. Pin
Martin#26-Feb-08 23:11
Martin#26-Feb-08 23:11 
GeneralRe: Cross-thread operation not valid: Control 'button1' accessed from a thread other than the thread it was created on. Pin
NarVish26-Feb-08 23:36
NarVish26-Feb-08 23:36 
GeneralRe: Cross-thread operation not valid: Control 'button1' accessed from a thread other than the thread it was created on. Pin
N a v a n e e t h26-Feb-08 23:41
N a v a n e e t h26-Feb-08 23:41 
GeneralRe: Cross-thread operation not valid: Control 'button1' accessed from a thread other than the thread it was created on. Pin
NarVish26-Feb-08 23:37
NarVish26-Feb-08 23:37 
GeneralRe: Cross-thread operation not valid: Control 'button1' accessed from a thread other than the thread it was created on. Pin
N a v a n e e t h26-Feb-08 23:25
N a v a n e e t h26-Feb-08 23:25 

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.