I have a grid form, and I want to transfer information from the first form to the second based on which row is selected when the user clicks the edit button.
What is the best way? and how should I decide how the form should be empty if the user wants to add a new one or fill out the second (right) form with the values ββfrom the selected row of the first datagrid type? String values ββare all properties of the same object.
I can delete and add a new object, its editing an existing one, which is difficult for me to work with, and how can I load the second form?
I am currently creating an instance and an instance of instance.Show ();
This works by opening a blank form, but I want to load it with an object based on the selected line when the user wants to edit an existing entry.
source share