void ReleaseDesignerOutlets() { if (ConnectDisconnectButton != null) { ConnectDisconnectButton.Dispose(); ConnectDisconnectButton = null; } if (MessagesTableView != null) { MessagesTableView.Dispose(); MessagesTableView = null; } if (MessageTextField != null) { MessageTextField.Dispose(); MessageTextField = null; } if (SendButton != null) { SendButton.Dispose(); SendButton = null; } if (ServerUrlTextField != null) { ServerUrlTextField.Dispose(); ServerUrlTextField = null; } }
void ReleaseDesignerOutlets() { if (ChatMessageAuthor != null) { ChatMessageAuthor.Dispose(); ChatMessageAuthor = null; } if (ChatMessageText != null) { ChatMessageText.Dispose(); ChatMessageText = null; } if (ChatTable != null) { ChatTable.Dispose(); ChatTable = null; } if (MessageTextField != null) { MessageTextField.Dispose(); MessageTextField = null; } if (PeerId != null) { PeerId.Dispose(); PeerId = null; } if (PeerName != null) { PeerName.Dispose(); PeerName = null; } if (PeersTable != null) { PeersTable.Dispose(); PeersTable = null; } }
void ReleaseDesignerOutlets() { if (MessageTextField != null) { MessageTextField.Dispose(); MessageTextField = null; } if (SendButton != null) { SendButton.Dispose(); SendButton = null; } if (TableView != null) { TableView.Dispose(); TableView = null; } }