Click here to Skip to main content
15,906,467 members
Home / Discussions / C#
   

C#

 
GeneralRe: WinForms Class Design Pin
Matt U.21-Nov-12 9:21
Matt U.21-Nov-12 9:21 
GeneralRe: WinForms Class Design Pin
PIEBALDconsult21-Nov-12 10:27
mvePIEBALDconsult21-Nov-12 10:27 
AnswerRe: WinForms Class Design Pin
PIEBALDconsult21-Nov-12 9:07
mvePIEBALDconsult21-Nov-12 9:07 
QuestionUplaod Article To Codeproject Pin
katlegoEmmnanuelNkosi21-Nov-12 3:44
katlegoEmmnanuelNkosi21-Nov-12 3:44 
AnswerRe: Uplaod Article To Codeproject Pin
PIEBALDconsult21-Nov-12 3:48
mvePIEBALDconsult21-Nov-12 3:48 
AnswerRe: Uplaod Article To Codeproject Pin
Richard MacCutchan21-Nov-12 4:34
mveRichard MacCutchan21-Nov-12 4:34 
QuestionPrint Crystal Report in c# Using Access Database? Pin
kashifjaat21-Nov-12 2:09
kashifjaat21-Nov-12 2:09 
QuestionGenerate Morse Code Sound Pin
long dao21-Nov-12 1:24
long dao21-Nov-12 1:24 
AnswerRe: Generate Morse Code Sound Pin
Pete O'Hanlon21-Nov-12 1:45
mvePete O'Hanlon21-Nov-12 1:45 
GeneralRe: Generate Morse Code Sound Pin
long dao21-Nov-12 1:54
long dao21-Nov-12 1:54 
GeneralRe: Generate Morse Code Sound Pin
Pete O'Hanlon21-Nov-12 2:05
mvePete O'Hanlon21-Nov-12 2:05 
QuestionKeeps returning NullReferenceException Pin
MacUseless20-Nov-12 23:08
MacUseless20-Nov-12 23:08 
SuggestionRe: Keeps returning NullReferenceException Pin
V.21-Nov-12 3:25
professionalV.21-Nov-12 3:25 
GeneralRe: Keeps returning NullReferenceException Pin
MacUseless21-Nov-12 3:28
MacUseless21-Nov-12 3:28 
GeneralRe: Keeps returning NullReferenceException Pin
V.21-Nov-12 3:31
professionalV.21-Nov-12 3:31 
QuestionValidate XML file against rule in db Pin
rahul.net1120-Nov-12 22:29
rahul.net1120-Nov-12 22:29 
AnswerRe: Validate XML file against rule in db Pin
PIEBALDconsult21-Nov-12 7:07
mvePIEBALDconsult21-Nov-12 7:07 
GeneralRe: Validate XML file against rule in db Pin
rahul.net1116-Jan-13 20:01
rahul.net1116-Jan-13 20:01 
QuestionHow to set the distance between checkbox and text in using TreeView ? Pin
taibc20-Nov-12 22:26
taibc20-Nov-12 22:26 
AnswerRe: How to set the distance between checkbox and text in using TreeView ? Pin
Jay Nardev21-Nov-12 0:03
Jay Nardev21-Nov-12 0:03 
GeneralRe: How to set the distance between checkbox and text in using TreeView ? Pin
taibc21-Nov-12 14:06
taibc21-Nov-12 14:06 
QuestionHow to fix Error when i using BackgroundWorker in C# Pin
Alviss_H20-Nov-12 20:36
Alviss_H20-Nov-12 20:36 
this's the error when I run the program "Cross-thread operation not valid: Control 'listBox1' accessed from a thread other than the thread it was created on." WTF | :WTF:
please help me Dead | X|
this's my code, it's simple
C#
private void button1_Click(object sender, EventArgs e)
       {
           backgroundWorker2.RunWorkerAsync();
       }
       public void additem(int i)
       {
           listBox1.Items.Add(i);
       }

       private void backgroundWorker2_DoWork(object sender, DoWorkEventArgs e)
       {
           for (int i = 0; i < 10; i++)
           {
               additem(i);
               Thread.Sleep(500);
           }

       }

AnswerRe: How to fix Error when i using BackgroundWorker in C# Pin
AmitGajjar20-Nov-12 21:04
professionalAmitGajjar20-Nov-12 21:04 
GeneralRe: How to fix Error when i using BackgroundWorker in C# Pin
Alviss_H20-Nov-12 21:19
Alviss_H20-Nov-12 21:19 
GeneralRe: How to fix Error when i using BackgroundWorker in C# Pin
AmitGajjar20-Nov-12 21:22
professionalAmitGajjar20-Nov-12 21:22 

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.