I have a DataGridView in Form1 and I\'m using this code to display another form called Generator:
DataGridView
Form1
Generator
private void button1
The easiest way from there is to open the designer for the DataGridView (myDataGridView) on Form1 and set the Modifiers property from private to internal or public
private
internal
public
This will let you call myForm.myDataGridView from the Generator form.
myForm.myDataGridView