void ReleaseDesignerOutlets() { if (_notificationsSwitch != null) { _notificationsSwitch.Dispose(); _notificationsSwitch = null; } if (_scrollView != null) { _scrollView.Dispose(); _scrollView = null; } if (ConnectionDetail != null) { ConnectionDetail.Dispose(); ConnectionDetail = null; } if (ConnectionStatus != null) { ConnectionStatus.Dispose(); ConnectionStatus = null; } if (ServerUpdateRate != null) { ServerUpdateRate.Dispose(); ServerUpdateRate = null; } if (TraderId != null) { TraderId.Dispose(); TraderId = null; } if (UILatency != null) { UILatency.Dispose(); UILatency = null; } if (UIUpdateRate != null) { UIUpdateRate.Dispose(); UIUpdateRate = null; } }
void ReleaseDesignerOutlets() { if (ConnectionDetail != null) { ConnectionDetail.Dispose(); ConnectionDetail = null; } if (ConnectionStatus != null) { ConnectionStatus.Dispose(); ConnectionStatus = null; } if (ServerUpdateRate != null) { ServerUpdateRate.Dispose(); ServerUpdateRate = null; } if (TraderId != null) { TraderId.Dispose(); TraderId = null; } if (UILatency != null) { UILatency.Dispose(); UILatency = null; } if (UIUpdateRate != null) { UIUpdateRate.Dispose(); UIUpdateRate = null; } }