S
Shaun Pudwell
Hi, I'm new to c# and come from a C / C++ background.
My MainWindow class has a function called DrawChart.
I open an MDI Child Window and want it to make a call from
its class MDIChild to DrawChart which is the MainWindow
class. Also, I want the chart counter to be incremented
on each call to DrawChart, without being set back to its
original value.
From my MDIChild class, If I say:
MainWindow xxx = new MainWindow ();
xxx.DrawChart ();
My counter gets re-initialized every time I call DrawChart.
Can anyone provide an answer ( in code ) if possible.
Thanks in advance.
Shaun Pudwell.
My MainWindow class has a function called DrawChart.
I open an MDI Child Window and want it to make a call from
its class MDIChild to DrawChart which is the MainWindow
class. Also, I want the chart counter to be incremented
on each call to DrawChart, without being set back to its
original value.
From my MDIChild class, If I say:
MainWindow xxx = new MainWindow ();
xxx.DrawChart ();
My counter gets re-initialized every time I call DrawChart.
Can anyone provide an answer ( in code ) if possible.
Thanks in advance.
Shaun Pudwell.