Click here to Skip to main content
15,916,432 members
Home / Discussions / C#
   

C#

 
AnswerRe: checkbox list Pin
Dave Kreskowiak8-May-09 4:54
mveDave Kreskowiak8-May-09 4:54 
QuestionPass Variable between two forms Pin
I Believe In GOD8-May-09 3:39
I Believe In GOD8-May-09 3:39 
AnswerRe: Pass Variable between two forms Pin
Le centriste8-May-09 3:46
Le centriste8-May-09 3:46 
GeneralRe: Pass Variable between two forms Pin
Ian McCaul8-May-09 3:47
Ian McCaul8-May-09 3:47 
GeneralRe: Pass Variable between two forms Pin
Le centriste8-May-09 3:50
Le centriste8-May-09 3:50 
GeneralRe: Pass Variable between two forms Pin
Ian McCaul8-May-09 3:51
Ian McCaul8-May-09 3:51 
AnswerRe: Pass Variable between two forms Pin
Ian McCaul8-May-09 3:47
Ian McCaul8-May-09 3:47 
AnswerRe: Pass Variable between two forms Pin
DaveyM698-May-09 3:53
professionalDaveyM698-May-09 3:53 
The easiest way is to have a custom event in Form1 that you raise when you've validated the path, passing the path as an argument in a custom class derived from EventArgs. FormMain can subscribe to that event.

Form2 should have a method, something like public void UpdateImageFromPath(string path){ }. Call that method from FormMain in the event handler for your Form1 custom event.

Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
Why are you using VB6? Do you hate yourself? (Christian Graus)

AnswerRe: Pass Variable between two forms Pin
I Believe In GOD8-May-09 4:24
I Believe In GOD8-May-09 4:24 
AnswerRe: Pass Variable between two forms Pin
Giorgi Dalakishvili8-May-09 4:28
mentorGiorgi Dalakishvili8-May-09 4:28 
GeneralRe: Pass Variable between two forms Pin
I Believe In GOD8-May-09 5:53
I Believe In GOD8-May-09 5:53 
GeneralRe: Pass Variable between two forms Pin
Giorgi Dalakishvili8-May-09 9:47
mentorGiorgi Dalakishvili8-May-09 9:47 
QuestionSerialPort Class with RS485 Pin
stancrm8-May-09 3:23
stancrm8-May-09 3:23 
AnswerRe: SerialPort Class with RS485 Pin
Dave Kreskowiak8-May-09 4:52
mveDave Kreskowiak8-May-09 4:52 
Questionreading data from biomatrix machine Pin
nikhil12348-May-09 2:50
nikhil12348-May-09 2:50 
AnswerRe: reading data from biomatrix machine Pin
Jimmanuel8-May-09 3:02
Jimmanuel8-May-09 3:02 
Question[Message Deleted] Pin
hkjghkj18-May-09 2:48
hkjghkj18-May-09 2:48 
AnswerRe: PictureBox Stretch Image Pin
Dave Kreskowiak8-May-09 4:48
mveDave Kreskowiak8-May-09 4:48 
QuestionCrystal report - how to take combo box at discrete value Pin
KIDYA8-May-09 2:28
KIDYA8-May-09 2:28 
QuestionNullReferenceException object reference not set to an instance of an object..please help Pin
bobolov8-May-09 2:20
bobolov8-May-09 2:20 
AnswerRe: NullReferenceException object reference not set to an instance of an object..please help Pin
tom5720078-May-09 2:23
tom5720078-May-09 2:23 
GeneralRe: NullReferenceException object reference not set to an instance of an object..please help Pin
bobolov8-May-09 2:50
bobolov8-May-09 2:50 
GeneralRe: NullReferenceException object reference not set to an instance of an object..please help Pin
Dave Kreskowiak8-May-09 4:46
mveDave Kreskowiak8-May-09 4:46 
GeneralRe: NullReferenceException object reference not set to an instance of an object..please help Pin
bobolov8-May-09 6:26
bobolov8-May-09 6:26 
GeneralRe: NullReferenceException object reference not set to an instance of an object..please help Pin
Luc Pattyn8-May-09 5:05
sitebuilderLuc Pattyn8-May-09 5:05 

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.