Click here to Skip to main content
15,889,462 members
Home / Discussions / C#
   

C#

 
QuestionSet Control Values on Form from other class Pin
Programm3r18-Jun-09 23:46
Programm3r18-Jun-09 23:46 
AnswerRe: Set Control Values on Form from other class Pin
Christian Graus18-Jun-09 23:49
protectorChristian Graus18-Jun-09 23:49 
GeneralRe: Set Control Values on Form from other class Pin
dan!sh 18-Jun-09 23:57
professional dan!sh 18-Jun-09 23:57 
GeneralRe: Set Control Values on Form from other class Pin
Christian Graus18-Jun-09 23:59
protectorChristian Graus18-Jun-09 23:59 
GeneralRe: Set Control Values on Form from other class Pin
dan!sh 19-Jun-09 0:13
professional dan!sh 19-Jun-09 0:13 
GeneralRe: Set Control Values on Form from other class Pin
Dave Kreskowiak19-Jun-09 4:39
mveDave Kreskowiak19-Jun-09 4:39 
GeneralRe: Set Control Values on Form from other class Pin
Programm3r18-Jun-09 23:59
Programm3r18-Jun-09 23:59 
GeneralRe: Set Control Values on Form from other class Pin
Christian Graus19-Jun-09 0:01
protectorChristian Graus19-Jun-09 0:01 
There are some good articles on delegates right here on code project, so search this site first, then google if you need to. I don't know off hand, but I know there's been a lot written about them.

You CAN just keep an instance of your form in your other class, but it's really ugly, delegates are the neat and clean way of doing what you want.

Christian Graus

Driven to the arms of OSX by Vista.

"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.

I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp

GeneralRe: Set Control Values on Form from other class Pin
Programm3r19-Jun-09 0:03
Programm3r19-Jun-09 0:03 
AnswerRe: Set Control Values on Form from other class Pin
dan!sh 18-Jun-09 23:52
professional dan!sh 18-Jun-09 23:52 
QuestionRe: Set Control Values on Form from other class Pin
Programm3r18-Jun-09 23:55
Programm3r18-Jun-09 23:55 
AnswerRe: Set Control Values on Form from other class Pin
dan!sh 19-Jun-09 2:41
professional dan!sh 19-Jun-09 2:41 
AnswerRe: Set Control Values on Form from other class Pin
I Believe In GOD18-Jun-09 23:54
I Believe In GOD18-Jun-09 23:54 
GeneralRe: Set Control Values on Form from other class Pin
Christian Graus19-Jun-09 0:00
protectorChristian Graus19-Jun-09 0:00 
QuestionRe: Set Control Values on Form from other class Pin
Programm3r19-Jun-09 0:02
Programm3r19-Jun-09 0:02 
AnswerRe: Set Control Values on Form from other class Pin
DaveyM6919-Jun-09 0:28
professionalDaveyM6919-Jun-09 0:28 
QuestionRe: Set Control Values on Form from other class Pin
Programm3r19-Jun-09 1:21
Programm3r19-Jun-09 1:21 
AnswerRe: Set Control Values on Form from other class Pin
DaveyM6919-Jun-09 1:54
professionalDaveyM6919-Jun-09 1:54 
GeneralRe: Set Control Values on Form from other class Pin
Programm3r19-Jun-09 1:56
Programm3r19-Jun-09 1:56 
AnswerRe: Set Control Values on Form from other class Pin
Rob Philpott19-Jun-09 1:44
Rob Philpott19-Jun-09 1:44 
GeneralRe: Set Control Values on Form from other class Pin
Programm3r19-Jun-09 1:59
Programm3r19-Jun-09 1:59 
QuestionVisual Studio 2005 method error Pin
Jem_Jumper18-Jun-09 23:29
Jem_Jumper18-Jun-09 23:29 
AnswerRe: Visual Studio 2005 method error Pin
dan!sh 18-Jun-09 23:35
professional dan!sh 18-Jun-09 23:35 
QuestionHow to run .NET application in Fedora 6(Linux) Pin
Member 305788718-Jun-09 23:12
Member 305788718-Jun-09 23:12 
AnswerRe: How to run .NET application in Fedora 6(Linux) Pin
Rob Philpott18-Jun-09 23:14
Rob Philpott18-Jun-09 23:14 

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.