Are you asking how to call a method in one class from a method in another class?

One way is shown in post#2. Define the method to be called as static.
The other way is to create an instance of...