Welcome to WindowsClient.net | My Blog | Sign in | Join

Windows Client Videos

FormToForm Using Parameters

In this video Pat Tormey shows how to send and receive messages between two or more forms using the technique of passing Parameters ‘By Reference’.
This is only one of several ways to handle round tripping messages and is part of a mini-series on just that subject.
In this case we’ll be passing a string but the technique works for passing instance of objects just as well.
 
Author: Pat Tormey 

Comments

Josh46 said:

Would it be possible to see some more videos in C#? I see the c# code, but it would be nice to get an explaination of each part of the code like you do with the VB. Would be much much appreciated. I'm learning c# in school now and these videos are a great bit of help Thanks!

# March 12, 2009 10:16 PM

Pat Tormey said:

Hi Josh,

Actullay no matter which language we use somebody loses (s)

In realtiy we are all .Net Programmers and the language of choice should not matter but the site policy is to deliver source in both C# and VB but the Videos in VB. Maybe its' because they think C# people are smarter OR maybe it's becuase 75% or .Neters are historically VB.

Then again if you'd ever watched me type in a case sensitive language you be asking me to go back to VB.

Pat

# March 22, 2009 11:59 AM

mistert25 said:

Hi Pat,

Thanks for the video on the use of ByRef.  Very useful.

Question: In your video you used an Overload Method.  It would be nice to add the Comment Atribute to Methods as a reminder about the Method.  I have not been able to make this work.  Would you show how to do this in a future video?

Thanks

Tom

# December 29, 2009 4:34 PM

Rinto Exandi Sinaga said:

Thanks for the video, I've been searching this kind of method.

# January 28, 2011 4:34 AM