P
Peted
I have an application with mdi parent form, and mutliple child forms.
In the mdi parent form i want to instantiate a device class for
comunicating to a peice of hardware via serial port.
its constructor would look something like
Device kvm = new Device(Serialport);
There may be more than 1 device instatiated, if the pc has more than 1
serial port.
I want to instantiate instance of device class's and have that
instance visible and accessable to all the childforms in this
application.
How is the best way to do this ?
thanks for any help
Peted
In the mdi parent form i want to instantiate a device class for
comunicating to a peice of hardware via serial port.
its constructor would look something like
Device kvm = new Device(Serialport);
There may be more than 1 device instatiated, if the pc has more than 1
serial port.
I want to instantiate instance of device class's and have that
instance visible and accessable to all the childforms in this
application.
How is the best way to do this ?
thanks for any help
Peted