public void SwapButton(BaseButton otherButton) { Swap.SwapString(ref abbre_baseName, ref otherButton.abbre_baseName); Swap.SwapString(ref baseName, ref otherButton.baseName); Swap.SwapImage(ref baseFlag, ref otherButton.baseFlag); Swap.DoubleFloat(ref dollarValue, ref otherButton.dollarValue); }