Passing Tchart form one Form to another Form

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
TChart
Newbie
Newbie
Posts: 19
Joined: Fri Jul 02, 2004 4:00 am
Contact:

Passing Tchart form one Form to another Form

Post by TChart » 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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Jul 21, 2006 11:51 am

Hi Basamma,

Please see my reply at your other thread.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply