Page 1 of 1

Preview of Form1 Tchart in Another Form2

Posted: Fri Jul 21, 2006 11:10 am
by 8126051
Hello,

I have two Forms ... Form1 and Form2
in this in Form1 I have a Graph drawn on it...now same graph i need to tranfer to Form2 every thing as same just preview of tht
... my Code is as below this on click of a button

In Form1:

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

In Form2:
public Form2(Steema.TeeChart.TChart MytChart)
{
InitializeComponent();
this.tChart1 = MytChart;

}
Now Im not getting a Graph on it.....
can u please suggest me the correct code for this

Regards,
Basamma

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

Please see my reply at your other thread.