Hi all,
In one of my programs I have a form A which remains maximized throughout. By clikcing on a button on this form another form B comes up (using ShowDialog) covering part of form A. The user enters some data in this form and then clicks "Ok". After which form B closes.
What I would like to do is, when form B closes some plots be made on form A. By passing variables between the two forms I'm able to generate the data and make the plots when the user clicks a button "Plot" on form A.
How can I do this (call the plotting function and make plots) automatically when form B is closed i.e. when user clicks "Ok" on form B, without having the user to click "Plot" on form A?
Thanks,
Saurabh
In one of my programs I have a form A which remains maximized throughout. By clikcing on a button on this form another form B comes up (using ShowDialog) covering part of form A. The user enters some data in this form and then clicks "Ok". After which form B closes.
What I would like to do is, when form B closes some plots be made on form A. By passing variables between the two forms I'm able to generate the data and make the plots when the user clicks a button "Plot" on form A.
How can I do this (call the plotting function and make plots) automatically when form B is closed i.e. when user clicks "Ok" on form B, without having the user to click "Plot" on form A?
Thanks,
Saurabh