void ReleaseDesignerOutlets() { if (BranchNameLabel != null) { BranchNameLabel.Dispose(); BranchNameLabel = null; } if (BranchNumberLabel != null) { BranchNumberLabel.Dispose(); BranchNumberLabel = null; } if (ChangeLocation != null) { ChangeLocation.Dispose(); ChangeLocation = null; } if (CityLabel != null) { CityLabel.Dispose(); CityLabel = null; } if (FaxLabel != null) { FaxLabel.Dispose(); FaxLabel = null; } if (Map != null) { Map.Dispose(); Map = null; } if (MapView != null) { MapView.Dispose(); MapView = null; } if (PhoneLabel != null) { PhoneLabel.Dispose(); PhoneLabel = null; } if (StreetLabel != null) { StreetLabel.Dispose(); StreetLabel = null; } }
void ReleaseDesignerOutlets() { if (TelLabel != null) { TelLabel.Dispose(); TelLabel = null; } if (DateLabel != null) { DateLabel.Dispose(); DateLabel = null; } if (InternationalTelLabel != null) { InternationalTelLabel.Dispose(); InternationalTelLabel = null; } if (FaxLabel != null) { FaxLabel.Dispose(); FaxLabel = null; } if (EmailTextView != null) { EmailTextView.Dispose(); EmailTextView = null; } if (PostToUsTextView != null) { PostToUsTextView.Dispose(); PostToUsTextView = null; } if (SendByDXTextView != null) { SendByDXTextView.Dispose(); SendByDXTextView = null; } if (SendDXLabel != null) { SendDXLabel.Dispose(); SendDXLabel = null; } }