void ReleaseDesignerOutlets() { if (CalloutLayout != null) { CalloutLayout.Dispose(); CalloutLayout = null; } if (ContentLayout != null) { ContentLayout.Dispose(); ContentLayout = null; } if (SenderLabel != null) { SenderLabel.Dispose(); SenderLabel = null; } if (MessageLabel != null) { MessageLabel.Dispose(); MessageLabel = null; } if (DateLabel != null) { DateLabel.Dispose(); DateLabel = null; } }
void ReleaseDesignerOutlets() { if (ContentLayout != null) { ContentLayout.Dispose(); ContentLayout = null; } if (LoadLayout != null) { LoadLayout.Dispose(); LoadLayout = null; } if (LoadProgress != null) { LoadProgress.Dispose(); LoadProgress = null; } }