Posts by T. Marra • 36 points
2 posts
-
0
votes2
answers499
viewsA: Define a generic variable without defining the type
Dude, in this case, you can use inheritance, with a superclass or an interface, and as you identify common needs, you’ll assign the interface/Superclass. I think it can help, another option is the…
-
2
votes2
answers116
viewsA: How to use the same instance for multiple classes?
What makes more sense there, is you pass the progressBar as parameter in the method of Edit, because you this farm the call of Edit without it knowing which progressBar will be edited.…