void ReleaseDesignerOutlets() { if (CellDefaultCity != null) { CellDefaultCity.Dispose(); CellDefaultCity = null; } if (SwitchMetric != null) { SwitchMetric.Dispose(); SwitchMetric = null; } }
void ReleaseDesignerOutlets() { if (CellAddCity != null) { CellAddCity.Dispose(); CellAddCity = null; } if (CellAlerts != null) { CellAlerts.Dispose(); CellAlerts = null; } if (CellDefaultCity != null) { CellDefaultCity.Dispose(); CellDefaultCity = null; } if (CellManageCities != null) { CellManageCities.Dispose(); CellManageCities = null; } if (CellUnits != null) { CellUnits.Dispose(); CellUnits = null; } if (SwitchAlerts != null) { SwitchAlerts.Dispose(); SwitchAlerts = null; } if (SwitchUnits != null) { SwitchUnits.Dispose(); SwitchUnits = null; } }