General information
Title:
Code to launch a form and pass a value from a grid?
Newbie here... Can someone give me some pointers (i.e. rough sample code in C#) on how you launch another form and pass one or more values to it?
For instance, I have a grid on a form that when the user double-clicks a cell, I want to launch a certain other form and pass the value of the cell they double-clicked. I know how to get the cell value and the double-click cell handler, I just need to know the code to launch the form, and how to deal with the passing of the value.
To elaborate, if they double-click on a cell in the customer number column, I will launch one certain form, and if they double-click on a cell in the vendor column, I will launch a different form, etc...
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only