If G2 is main program class, and exists only in one instance, I would use singleton pattern on this class - no need to passing references.
peeles
2008-11-22 21:53:43
If G2 is main program class, and exists only in one instance, I would use singleton pattern on this class - no need to passing references.