void ReleaseDesignerOutlets() { if (AddAlertButton != null) { AddAlertButton.Dispose(); AddAlertButton = null; } if (EmailAlertLabel != null) { EmailAlertLabel.Dispose(); EmailAlertLabel = null; } if (EmptyAlertButton != null) { EmptyAlertButton.Dispose(); EmptyAlertButton = null; } if (EmptyAlertImageButton != null) { EmptyAlertImageButton.Dispose(); EmptyAlertImageButton = null; } if (MobileNotificationLabel != null) { MobileNotificationLabel.Dispose(); MobileNotificationLabel = null; } if (NextButton != null) { NextButton.Dispose(); NextButton = null; } if (NotifActivatedLabel != null) { NotifActivatedLabel.Dispose(); NotifActivatedLabel = null; } if (PreviousButton != null) { PreviousButton.Dispose(); PreviousButton = null; } if (Tableview != null) { Tableview.Dispose(); Tableview = null; } }
void ReleaseDesignerOutlets() { if (ButtonCreateAlert != null) { ButtonCreateAlert.Dispose(); ButtonCreateAlert = null; } if (EmailAlertLabel != null) { EmailAlertLabel.Dispose(); EmailAlertLabel = null; } if (EmptyAlertButton != null) { EmptyAlertButton.Dispose(); EmptyAlertButton = null; } if (EmptyAlertImageButton != null) { EmptyAlertImageButton.Dispose(); EmptyAlertImageButton = null; } if (MobileNotificationLabel != null) { MobileNotificationLabel.Dispose(); MobileNotificationLabel = null; } if (NextButton != null) { NextButton.Dispose(); NextButton = null; } if (NotifActivatedLabel != null) { NotifActivatedLabel.Dispose(); NotifActivatedLabel = null; } if (TableViewDontMove != null) { TableViewDontMove.Dispose(); TableViewDontMove = null; } }