Hi

I have a form with a splitcontainer, in the toolstrip i have a print Button. i open different forms in splitpanel2 via splitpanel1.

I would like to create a printclass whereto i can pass variables of the active forms...
for instance on form1 i have tabcontrol1 with tabpage1, which has DataGridView1, tabpage2 has DataGridview2 etc.

i would like to tell the printclass which datagridview to print...