1
Answer

Sharing Instantiated Objects in Windows Forms Application

Peter Price

Peter Price

15y
3.5k
1
Is it possible to share the same instantiated object in different event handlers in a Windows Forms application?  Specifically, I created a class containing multiple arrays, then instantiated an object of the class in the button1_Click event.  Now I want to manipulate that same object in the button2_Click event.

Thanks,

Peter Price
Answers (1)