void ReleaseDesignerOutlets() { if (PublisherView != null) { PublisherView.Dispose(); PublisherView = null; } if (SubscriberView != null) { SubscriberView.Dispose(); SubscriberView = null; } }
void ReleaseDesignerOutlets() { if (HangupButton != null) { HangupButton.Dispose(); HangupButton = null; } if (PublisherView != null) { PublisherView.Dispose(); PublisherView = null; } if (SubscriberView != null) { SubscriberView.Dispose(); SubscriberView = null; } if (SwitchButton != null) { SwitchButton.Dispose(); SwitchButton = null; } if (ToolBar != null) { ToolBar.Dispose(); ToolBar = null; } if (StatusLabel != null) { StatusLabel.Dispose(); StatusLabel = null; } }