Passing Tchart form one Form to another Form
Posted: Fri Jul 21, 2006 8:20 am
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
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