Click here to Skip to main content
15,511,559 members
Home / Discussions / C#
   

C#

 
AnswerRe: Thread Pin
Rob Philpott24-Feb-09 22:19
Rob Philpott24-Feb-09 22:19 
AnswerRe: Thread Pin
Krishnraj25-Feb-09 0:11
Krishnraj25-Feb-09 0:11 
GeneralRe: Thread Pin
Megidolaon25-Feb-09 23:13
Megidolaon25-Feb-09 23:13 
QuestionSimple Threading (VS 2005) Example Pin
WinSolution24-Feb-09 21:33
WinSolution24-Feb-09 21:33 
AnswerRe: Simple Threading (VS 2005) Example Pin
J a a n s24-Feb-09 21:41
professionalJ a a n s24-Feb-09 21:41 
GeneralRe: Simple Threading (VS 2005) Example Pin
WinSolution24-Feb-09 21:48
WinSolution24-Feb-09 21:48 
AnswerRe: Simple Threading (VS 2005) Example Pin
prasadbuddhika24-Feb-09 21:45
prasadbuddhika24-Feb-09 21:45 
GeneralRe: Simple Threading (VS 2005) Example Pin
WinSolution24-Feb-09 22:04
WinSolution24-Feb-09 22:04 
Following is the code which i tried but got error of Cross Thread.

public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void Form1_Load(object sender, EventArgs e)
{
ThreadStart ts = new ThreadStart(ProgressBar);
Thread th = new Thread(ts);
th.Start();


}

public void ProgressBar()
{
label1.Width += 1;
Thread.Sleep(1000);
}
}

Please share if you can figure out the problem
GeneralRe: Simple Threading (VS 2005) Example Pin
ABitSmart24-Feb-09 22:52
ABitSmart24-Feb-09 22:52 
AnswerRe: Simple Threading (VS 2005) Example Pin
Cracked-Down25-Feb-09 0:36
Cracked-Down25-Feb-09 0:36 
AnswerRe: Simple Threading (VS 2005) Example Pin
Luc Pattyn25-Feb-09 2:13
sitebuilderLuc Pattyn25-Feb-09 2:13 
QuestionEdit of C# DLL file Pin
HatakeKaKaShi24-Feb-09 21:24
HatakeKaKaShi24-Feb-09 21:24 
AnswerRe: Edit of C# DLL file Pin
WinSolution24-Feb-09 21:37
WinSolution24-Feb-09 21:37 
GeneralRe: Edit of C# DLL file Pin
HatakeKaKaShi24-Feb-09 21:47
HatakeKaKaShi24-Feb-09 21:47 
QuestionISO 8583 [modified] Pin
astrovirgin24-Feb-09 19:43
astrovirgin24-Feb-09 19:43 
AnswerRe: ISO 8583 Pin
N a v a n e e t h24-Feb-09 19:59
N a v a n e e t h24-Feb-09 19:59 
AnswerRe: ISO 8583 Pin
Tim Speekenbrink12-May-09 7:35
Tim Speekenbrink12-May-09 7:35 
QuestionSocket Pin
mrithula824-Feb-09 19:35
mrithula824-Feb-09 19:35 
AnswerRe: Socket Pin
N a v a n e e t h24-Feb-09 20:04
N a v a n e e t h24-Feb-09 20:04 
QuestionXSLT2 Functions Exception in C# Pin
C. Hariharan24-Feb-09 19:34
C. Hariharan24-Feb-09 19:34 
AnswerRe: XSLT2 Functions Exception in C# Pin
N a v a n e e t h24-Feb-09 20:05
N a v a n e e t h24-Feb-09 20:05 
AnswerRe: XSLT2 Functions Exception in C# Pin
Pete O'Hanlon24-Feb-09 22:57
mvaPete O'Hanlon24-Feb-09 22:57 
GeneralRe: XSLT2 Functions Exception in C# Pin
C. Hariharan24-Feb-09 23:27
C. Hariharan24-Feb-09 23:27 
GeneralRe: XSLT2 Functions Exception in C# Pin
Pete O'Hanlon25-Feb-09 5:05
mvaPete O'Hanlon25-Feb-09 5:05 
GeneralRe: XSLT2 Functions Exception in C# Pin
C. Hariharan25-Feb-09 20:23
C. Hariharan25-Feb-09 20:23 

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.