void ReleaseDesignerOutlets() { if (DialogTitleLabel != null) { DialogTitleLabel.Dispose(); DialogTitleLabel = null; } if (MedicineListTableView != null) { MedicineListTableView.Dispose(); MedicineListTableView = null; } if (OkButton != null) { OkButton.Dispose(); OkButton = null; } if (TableViewHeightConstraint != null) { TableViewHeightConstraint.Dispose(); TableViewHeightConstraint = null; } }
void ReleaseDesignerOutlets() { if (ScrollView != null) { ScrollView.Dispose(); ScrollView = null; } if (ButtonView != null) { ButtonView.Dispose(); ButtonView = null; } if (CloseButton != null) { CloseButton.Dispose(); CloseButton = null; } if (CountryTableView != null) { CountryTableView.Dispose(); CountryTableView = null; } if (ListExplainLbl != null) { ListExplainLbl.Dispose(); ListExplainLbl = null; } if (NextBtn != null) { NextBtn.Dispose(); NextBtn = null; } if (SubtitleLbl != null) { SubtitleLbl.Dispose(); SubtitleLbl = null; } if (TableViewHeightConstraint != null) { TableViewHeightConstraint.Dispose(); TableViewHeightConstraint = null; } if (TitleLbl != null) { TitleLbl.Dispose(); TitleLbl = null; } }