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

C#

 
AnswerRe: tabPage class Pin
likefood30-May-06 13:09
likefood30-May-06 13:09 
QuestionHow to display text from the bottom up in a textBox. Pin
nicknotyet30-May-06 11:34
nicknotyet30-May-06 11:34 
AnswerRe: How to display text from the bottom up in a textBox. Pin
V.30-May-06 11:44
professionalV.30-May-06 11:44 
GeneralRe: How to display text from the bottom up in a textBox. Pin
nicknotyet30-May-06 12:10
nicknotyet30-May-06 12:10 
GeneralRe: How to display text from the bottom up in a textBox. Pin
likefood30-May-06 13:05
likefood30-May-06 13:05 
AnswerRe: How to display text from the bottom up in a textBox. Pin
Shajeel30-May-06 19:24
Shajeel30-May-06 19:24 
GeneralRe: How to display text from the bottom up in a textBox. Pin
nicknotyet31-May-06 3:55
nicknotyet31-May-06 3:55 
QuestionMultithreading problem Pin
thepersonof30-May-06 11:07
thepersonof30-May-06 11:07 
Hi I know multithrading is explained in several tutorials, but I can't figure out how to terminate another thread gracefully. This is my current code. In thread1 when I dispose s I get an error... I realised this would happen with sychronisation etc. What can I do?

public class Loader<br />
    {<br />
        PNG.SplashScreen s;<br />
        Form1 f;<br />
        Thread first;<br />
        Thread second;<br />
        public Loader()<br />
        {<br />
            first = new Thread(new ThreadStart(thread1));<br />
            second = new Thread(new ThreadStart(thread2));<br />
            first.Start();<br />
            second.Start();<br />
        }<br />
        void thread1()<br />
        {<br />
            f = new Form1();<br />
            s.Dispose();            <br />
            f.ShowDialog();<br />
        }<br />
        void thread2()<br />
        {<br />
            s = new PNG.SplashScreen();<br />
            s.ShowDialog();<br />
        }<br />
    }



cheers
AnswerRe: Multithreading problem Pin
Judah Gabriel Himango30-May-06 11:13
sponsorJudah Gabriel Himango30-May-06 11:13 
AnswerRe: Multithreading problem Pin
Robert Rohde30-May-06 20:16
Robert Rohde30-May-06 20:16 
Questionadvice learn visual C# Pin
gds0930-May-06 10:56
gds0930-May-06 10:56 
AnswerRe: advice learn visual C# Pin
V.30-May-06 11:38
professionalV.30-May-06 11:38 
AnswerRe: advice learn visual C# Pin
teejayem30-May-06 14:11
teejayem30-May-06 14:11 
QuestionRecommended Books Pin
ahmed_toyin30-May-06 9:37
ahmed_toyin30-May-06 9:37 
AnswerRe: Recommended Books Pin
James Gupta30-May-06 9:59
professionalJames Gupta30-May-06 9:59 
GeneralRe: Recommended Books Pin
V.30-May-06 11:39
professionalV.30-May-06 11:39 
AnswerRe: Recommended Books [modified] Pin
Drew McGhie30-May-06 10:40
Drew McGhie30-May-06 10:40 
QuestionProblem in fetching address book Pin
Musharaf Zaheer30-May-06 9:28
Musharaf Zaheer30-May-06 9:28 
QuestionCorrect x,y co-ordinates of Form Control Pin
Darren_30-May-06 8:14
Darren_30-May-06 8:14 
AnswerRe: Correct x,y co-ordinates of Form Control Pin
led mike30-May-06 8:33
led mike30-May-06 8:33 
GeneralRe: Correct x,y co-ordinates of Form Control Pin
Darren_30-May-06 8:51
Darren_30-May-06 8:51 
QuestionShort Keys to Window Form Pin
anderslundsgard30-May-06 7:54
anderslundsgard30-May-06 7:54 
AnswerRe: Short Keys to Window Form Pin
Darren_30-May-06 8:20
Darren_30-May-06 8:20 
AnswerRe: Short Keys to Window Form Pin
kasik30-May-06 8:24
kasik30-May-06 8:24 
GeneralRe: Short Keys to Window Form Pin
anderslundsgard30-May-06 18:44
anderslundsgard30-May-06 18:44 

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.