Answer
31 Dec 2009
license: CPOL
Generally speaking, a swap function needs a temporary variable, for instancevoid swap(ref Button b1, ref Button b2){ Button tmp = b1; b1 = b2; b2 = tmp; }However, I suspect the above is not what you intended... :rolleyes:[added]Hi, Mr. Univoter, don't you like swap...
Desktop Development » Button Controls » General