void ReleaseDesignerOutlets() { if (CallButton != null) { CallButton.Dispose(); CallButton = null; } if (CategoryLabel != null) { CategoryLabel.Dispose(); CategoryLabel = null; } if (CommunityLabel != null) { CommunityLabel.Dispose(); CommunityLabel = null; } if (DayCountLabel != null) { DayCountLabel.Dispose(); DayCountLabel = null; } if (EmailButton != null) { EmailButton.Dispose(); EmailButton = null; } if (ProspectLabel != null) { ProspectLabel.Dispose(); ProspectLabel = null; } if (SMSButton != null) { SMSButton.Dispose(); SMSButton = null; } if (TaskDueLabel != null) { TaskDueLabel.Dispose(); TaskDueLabel = null; } if (TaskLabel != null) { TaskLabel.Dispose(); TaskLabel = null; } }
void ReleaseDesignerOutlets() { if (CommunityLabel != null) { CommunityLabel.Dispose(); CommunityLabel = null; } if (DayCountLabel != null) { DayCountLabel.Dispose(); DayCountLabel = null; } if (SystemActivityLabel != null) { SystemActivityLabel.Dispose(); SystemActivityLabel = null; } if (ProspectLabel != null) { ProspectLabel.Dispose(); ProspectLabel = null; } if (SalespersonImage != null) { SalespersonImage.Dispose(); SalespersonImage = null; } if (SalespersonLabel != null) { SalespersonLabel.Dispose(); SalespersonLabel = null; } if (TopStackView != null) { TopStackView.Dispose(); TopStackView = null; } }