void ReleaseDesignerOutlets() { if (ChatHistory != null) { ChatHistory.Dispose(); ChatHistory = null; } if (MessageBox != null) { MessageBox.Dispose(); MessageBox = null; } if (ChatView != null) { ChatView.Dispose(); ChatView = null; } if (SendButton != null) { SendButton.Dispose(); SendButton = null; } }
void ReleaseDesignerOutlets() { if (ChatHistory != null) { ChatHistory.Dispose(); ChatHistory = null; } if (ChatInput != null) { ChatInput.Dispose(); ChatInput = null; } if (ContainerTopConstraint != null) { ContainerTopConstraint.Dispose(); ContainerTopConstraint = null; } if (InterfaceContainer != null) { InterfaceContainer.Dispose(); InterfaceContainer = null; } if (ContainerBottomConstraint != null) { ContainerBottomConstraint.Dispose(); ContainerBottomConstraint = null; } }