Page 1 of 1

Passing Tchart form one Form to another Form

Posted: Fri Jul 21, 2006 8:20 am
by 8126051
Hello,

see I have written a code for passing Tchart from form1 to another form Form2


Form1 :

Form2 frm = new Form2(this.tChart1);
frm.ShowDialog();

Form2 :

public Form2(tChart1 MytChart)
{
InitializeComponent();
this.tChart1 = MytChart;
}

Im getting error can anyone correct this syntax?

Regards,
Basamma

Posted: Fri Jul 21, 2006 11:51 am
by narcis
Hi Basamma,

Please see my reply at your other thread.