void ReleaseDesignerOutlets() { if (btnBack != null) { btnBack.Dispose(); btnBack = null; } if (btnSend != null) { btnSend.Dispose(); btnSend = null; } if (ConsumerTableView != null) { ConsumerTableView.Dispose(); ConsumerTableView = null; } if (HeaderView != null) { HeaderView.Dispose(); HeaderView = null; } if (lblTitle != null) { lblTitle.Dispose(); lblTitle = null; } if (OuterView != null) { OuterView.Dispose(); OuterView = null; } if (SenderView != null) { SenderView.Dispose(); SenderView = null; } if (txtMessage != null) { txtMessage.Dispose(); txtMessage = null; } }
void ReleaseDesignerOutlets() { if (BodyText != null) { BodyText.Dispose(); BodyText = null; } if (BodyViewBottomConstraint != null) { BodyViewBottomConstraint.Dispose(); BodyViewBottomConstraint = null; } if (DoctorLabel != null) { DoctorLabel.Dispose(); DoctorLabel = null; } if (MedicalCenterLabel != null) { MedicalCenterLabel.Dispose(); MedicalCenterLabel = null; } if (SelectionDropDownImage != null) { SelectionDropDownImage.Dispose(); SelectionDropDownImage = null; } if (SendButton != null) { SendButton.Dispose(); SendButton = null; } if (senderLabel != null) { senderLabel.Dispose(); senderLabel = null; } if (SenderSelectionView != null) { SenderSelectionView.Dispose(); SenderSelectionView = null; } if (SenderSeparator != null) { SenderSeparator.Dispose(); SenderSeparator = null; } if (SenderSeparatorTopToSenderViewBottomConstraint != null) { SenderSeparatorTopToSenderViewBottomConstraint.Dispose(); SenderSeparatorTopToSenderViewBottomConstraint = null; } if (SenderSeparatorTopToSenderViewSelectionBottomConstraint != null) { SenderSeparatorTopToSenderViewSelectionBottomConstraint.Dispose(); SenderSeparatorTopToSenderViewSelectionBottomConstraint = null; } if (SenderView != null) { SenderView.Dispose(); SenderView = null; } if (SubjectTextfield != null) { SubjectTextfield.Dispose(); SubjectTextfield = null; } }