This is probably basic, but I sure could use some assistance.
The situation: I have a form and one additional class in
my project. The form will contain the following
elements: - button "Start" - button "Stop" - button
"One" - button "Two" - button "Three" - listBox
The other class (called Methods.cs) will contain various
methods which do very basic tasks. These tasks will
include ... - enabling and disabling the buttons on the
form - adding information to my list box
Questions: 1. Do I need to instantiate a new instance
of the form within each method in the Methods.cs class?
2. If I do need to do this, is there a way to do it one
time globaly so I don't have to add the code to each
method?
My only goal is to understand how to modify information
/ items / etc on a form, based on methods ran in a
totally different class. Both are within the same
namespace / same application.
Any assistance woudl be appreciated.