Preview of Form1 Tchart in Another Form2

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:

Preview of Form1 Tchart in Another Form2

Post by TChart » Fri Jul 21, 2006 11:10 am

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

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