Autor Beitrag
Spectus.gn
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 38

Win XP
C# (VS 2008 Pro)
BeitragVerfasst: Di 03.10.06 18:27 
Hi, ich hoffe mir kann jemand helfen.
Ich bräuchte für C# eine Anweisung, wie ich meinen Prozess stoppe für gewisse Zeit.
MfG
Spectus
Spectus.gn Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 38

Win XP
C# (VS 2008 Pro)
BeitragVerfasst: Di 03.10.06 21:43 
Tut mir leid für den unnötigen Thread.
Der Quellcode ist ganz einfach.
ausblenden C#-Quelltext
1:
2:
3:
4:
//oben im using muss die folgende Zeile eingetragen werden
using System.Threading;
//die nächste Zeile kannst du überall im Quellcode unterbringen, wobei der Wert in der Klammer die Wartezeit in ms angibt.
Thread.Sleep(1000);


MfG
Carsten