I have been scouring the internet for days trying to find a way to pass an object to a form so that I can collect data edit the object then get the object back from the second form.
I have an object that is mostly made of text and the formatting of the text. I want to pass that to a second form so that I can fill in the values on the form and make changes to the values then read the object back out of the form and replace the object in the original with the new copy.
The main issue that I am having is passing the object. I have considered just writing the object to a tmp txt file then reading it into the form on the other side but there has to be some way to better pass a non-native data type relatively simply. I tried using databinding but failed to find an easy way to pass the whole object. Any help would be appreciated.