Click here to Skip to main content
16,004,991 members
Home / Discussions / C#
   

C#

 
GeneralRe: WHAT DIFFRENCE THERE IS BETWEEN WIN XP AND WIN2000 SP4 SO THAT A WINDOWS APPLICATION IS GETTING AFFECTED AND DONT FUNCTION THE WAY IT DO WELL IN XP??!!! Pin
cbhkenshin27-Dec-05 0:21
cbhkenshin27-Dec-05 0:21 
AnswerRe: WHAT DIFFRENCE THERE IS BETWEEN WIN XP AND WIN2000 SP4 SO THAT A WINDOWS APPLICATION IS GETTING AFFECTED AND DONT FUNCTION THE WAY IT DO WELL IN XP??!!! Pin
User 665827-Dec-05 3:33
User 665827-Dec-05 3:33 
Questionhelp regarding redirecting consol I/O in c# app. Pin
musmanafzal26-Dec-05 23:30
musmanafzal26-Dec-05 23:30 
QuestionRegarding calling Event Pin
A.Grover26-Dec-05 23:13
A.Grover26-Dec-05 23:13 
AnswerRe: Regarding calling Event Pin
Rob Philpott26-Dec-05 23:28
Rob Philpott26-Dec-05 23:28 
GeneralRe: Regarding calling Event Pin
peshkunta27-Dec-05 3:28
peshkunta27-Dec-05 3:28 
Questionproblem displaying text in a textBox Pin
zt.Prog26-Dec-05 23:03
zt.Prog26-Dec-05 23:03 
AnswerRe: problem displaying text in a textBox Pin
Rob Philpott26-Dec-05 23:15
Rob Philpott26-Dec-05 23:15 
Your textbox belongs to a class as well, the form class and by default this textbox has private access so you can't get at it.

Take a step back though, what you are trying to do here is tightly couple the GUI to the logic. You end up with a calculation class which can only be used in conjunction with a particular form. You should call out from the form class to the calculation class, collect the answer in the form class and then assign it to the textbox. The calculation class should be made as reusable as possible and not have a clue about the GUI of the application it is to be used in.

You need to be particularly careful if using worker threads - these should not access GUI components without a thread switch provided by BeginInvoke.


Regards,
Rob Philpott.
GeneralRe: problem displaying text in a textBox Pin
zt.Prog26-Dec-05 23:34
zt.Prog26-Dec-05 23:34 
GeneralRe: problem displaying text in a textBox Pin
Rob Philpott26-Dec-05 23:47
Rob Philpott26-Dec-05 23:47 
GeneralRe: problem displaying text in a textBox Pin
zt.Prog27-Dec-05 0:04
zt.Prog27-Dec-05 0:04 
GeneralRe: problem displaying text in a textBox Pin
Rob Philpott27-Dec-05 0:18
Rob Philpott27-Dec-05 0:18 
GeneralRe: problem displaying text in a textBox Pin
zt.Prog27-Dec-05 1:25
zt.Prog27-Dec-05 1:25 
AnswerRe: problem displaying text in a textBox Pin
cbhkenshin27-Dec-05 0:19
cbhkenshin27-Dec-05 0:19 
GeneralRe: problem displaying text in a textBox Pin
Rob Philpott27-Dec-05 0:37
Rob Philpott27-Dec-05 0:37 
QuestionProgramming Outlook 2003 SP2 Pin
Qarshi26-Dec-05 22:11
Qarshi26-Dec-05 22:11 
AnswerRe: Programming Outlook 2003 SP2 Pin
ekynox27-Dec-05 14:03
ekynox27-Dec-05 14:03 
QuestionRichTextBox Printing Pin
kenexcelon26-Dec-05 21:27
kenexcelon26-Dec-05 21:27 
AnswerRe: RichTextBox Printing Pin
peshkunta27-Dec-05 4:00
peshkunta27-Dec-05 4:00 
AnswerRe: RichTextBox Printing Pin
mav.northwind27-Dec-05 6:39
mav.northwind27-Dec-05 6:39 
QuestionIE loading event Pin
Sunil Shindekar26-Dec-05 20:41
Sunil Shindekar26-Dec-05 20:41 
AnswerRe: IE loading event Pin
peshkunta26-Dec-05 22:20
peshkunta26-Dec-05 22:20 
GeneralRe: IE loading event Pin
Sunil Shindekar26-Dec-05 22:49
Sunil Shindekar26-Dec-05 22:49 
GeneralRe: IE loading event Pin
peshkunta26-Dec-05 23:23
peshkunta26-Dec-05 23:23 
GeneralRe: IE loading event Pin
geekpunk28-Dec-05 11:41
geekpunk28-Dec-05 11:41 

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.