void ReleaseDesignerOutlets() { if (FTPBackgroundSwitcher != null) { FTPBackgroundSwitcher.Dispose(); FTPBackgroundSwitcher = null; } if (FTPSwitcher != null) { FTPSwitcher.Dispose(); FTPSwitcher = null; } }
void ReleaseDesignerOutlets() { if (BackgroundEnabler != null) { BackgroundEnabler.Dispose(); BackgroundEnabler = null; } if (BackgroundTypeButton != null) { BackgroundTypeButton.Dispose(); BackgroundTypeButton = null; } if (DHTSwitcher != null) { DHTSwitcher.Dispose(); DHTSwitcher = null; } if (FTPBackgroundSwitcher != null) { FTPBackgroundSwitcher.Dispose(); FTPBackgroundSwitcher = null; } if (FTPSwitcher != null) { FTPSwitcher.Dispose(); FTPSwitcher = null; } if (UpdateLabel != null) { UpdateLabel.Dispose(); UpdateLabel = null; } if (UpdateLoading != null) { UpdateLoading.Dispose(); UpdateLoading = null; } }