/// <summary> /// Called when the cancel button is pressed. This discards any changes made to /// the data objects. /// </summary> protected internal override void cancel() { StateCU_ClimateStation station = null; int size = _data.Count; for (int i = 0; i < size; i++) { station = (StateCU_ClimateStation)_data[i]; station.restoreOriginal(); } }