WinForms-FormToForm Using Properties
In this video Pat Tormey shows how to send and receive messages between two or more forms using the technique of creating a custom property for the form.
As forms are also classes you can add a customer Public Property and use it to send and receive (Get/Set) messages. In this example we’ll be using a string but the techniques works for sending an instance of a class which might be more useful in your applications.
This is only one of several ways to handle round tripping messages and is part of a mini-series on just that subject.
Author: Pat Tormey