Esempio n. 1
0
        void ReleaseDesignerOutlets()
        {
            if (TxtCommand != null)
            {
                TxtCommand.Dispose();
                TxtCommand = null;
            }

            if (LnkHelp != null)
            {
                LnkHelp.Dispose();
                LnkHelp = null;
            }

            if (CmdOk != null)
            {
                CmdOk.Dispose();
                CmdOk = null;
            }

            if (CmdCancel != null)
            {
                CmdCancel.Dispose();
                CmdCancel = null;
            }
        }
Esempio n. 2
0
        void ReleaseDesignerOutlets()
        {
            if (LblMessage != null)
            {
                LblMessage.Dispose();
                LblMessage = null;
            }

            if (TxtPassword != null)
            {
                TxtPassword.Dispose();
                TxtPassword = null;
            }

            if (CmdOk != null)
            {
                CmdOk.Dispose();
                CmdOk = null;
            }

            if (CmdCancel != null)
            {
                CmdCancel.Dispose();
                CmdCancel = null;
            }
        }
Esempio n. 3
0
        void ReleaseDesignerOutlets()
        {
            if (CmdCancel != null)
            {
                CmdCancel.Dispose();
                CmdCancel = null;
            }

            if (CmdOk != null)
            {
                CmdOk.Dispose();
                CmdOk = null;
            }

            if (LblBody != null)
            {
                LblBody.Dispose();
                LblBody = null;
            }

            if (TxtManualUrls != null)
            {
                TxtManualUrls.Dispose();
                TxtManualUrls = null;
            }

            if (ChkDontShowAgain != null)
            {
                ChkDontShowAgain.Dispose();
                ChkDontShowAgain = null;
            }
        }
Esempio n. 4
0
        void ReleaseDesignerOutlets()
        {
            if (TxtTos != null)
            {
                TxtTos.Dispose();
                TxtTos = null;
            }

            if (ChkTos1 != null)
            {
                ChkTos1.Dispose();
                ChkTos1 = null;
            }

            if (ChkTos2 != null)
            {
                ChkTos2.Dispose();
                ChkTos2 = null;
            }

            if (CmdAccept != null)
            {
                CmdAccept.Dispose();
                CmdAccept = null;
            }

            if (CmdCancel != null)
            {
                CmdCancel.Dispose();
                CmdCancel = null;
            }
        }
Esempio n. 5
0
        void ReleaseDesignerOutlets()
        {
            if (TabMain != null)
            {
                TabMain.Dispose();
                TabMain = null;
            }

            if (TxtOvpnGenerated != null)
            {
                TxtOvpnGenerated.Dispose();
                TxtOvpnGenerated = null;
            }

            if (TxtOvpnOriginal != null)
            {
                TxtOvpnOriginal.Dispose();
                TxtOvpnOriginal = null;
            }

            if (CmdOk != null)
            {
                CmdOk.Dispose();
                CmdOk = null;
            }

            if (CmdCancel != null)
            {
                CmdCancel.Dispose();
                CmdCancel = null;
            }
        }
Esempio n. 6
0
        void ReleaseDesignerOutlets()
        {
            if (TxtUsername != null)
            {
                TxtUsername.Dispose();
                TxtUsername = null;
            }

            if (TxtPassword != null)
            {
                TxtPassword.Dispose();
                TxtPassword = null;
            }

            if (CboRemember != null)
            {
                CboRemember.Dispose();
                CboRemember = null;
            }

            if (CmdLogin != null)
            {
                CmdLogin.Dispose();
                CmdLogin = null;
            }

            if (CmdCancel != null)
            {
                CmdCancel.Dispose();
                CmdCancel = null;
            }
        }
Esempio n. 7
0
        void ReleaseDesignerOutlets()
        {
            if (ChkEnabled != null)
            {
                ChkEnabled.Dispose();
                ChkEnabled = null;
            }

            if (CmdCancel != null)
            {
                CmdCancel.Dispose();
                CmdCancel = null;
            }

            if (CmdOk != null)
            {
                CmdOk.Dispose();
                CmdOk = null;
            }

            if (LblTitle != null)
            {
                LblTitle.Dispose();
                LblTitle = null;
            }

            if (LblSubtitle != null)
            {
                LblSubtitle.Dispose();
                LblSubtitle = null;
            }
        }
Esempio n. 8
0
        private void SendForm(object sender, KeyEventArgs e)
        {
            switch (e.KeyData)
            {
            case Keys.Control | Keys.Enter:
                e.SuppressKeyPress = true;
                CmdSave.PerformClick();
                break;

            case Keys.Escape when sender.Equals(this):
                e.SuppressKeyPress = true;

                CmdCancel.PerformClick();
                break;
            }
        }
Esempio n. 9
0
        void ReleaseDesignerOutlets()
        {
            if (TxtBody != null)
            {
                TxtBody.Dispose();
                TxtBody = null;
            }

            if (CmdOk != null)
            {
                CmdOk.Dispose();
                CmdOk = null;
            }

            if (CmdCancel != null)
            {
                CmdCancel.Dispose();
                CmdCancel = null;
            }
        }
Esempio n. 10
0
        void ReleaseDesignerOutlets()
        {
            if (CboProvider != null)
            {
                CboProvider.Dispose();
                CboProvider = null;
            }

            if (CmdOk != null)
            {
                CmdOk.Dispose();
                CmdOk = null;
            }

            if (CmdCancel != null)
            {
                CmdCancel.Dispose();
                CmdCancel = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (TxtIP != null)
            {
                TxtIP.Dispose();
                TxtIP = null;
            }

            if (LblHelp != null)
            {
                LblHelp.Dispose();
                LblHelp = null;
            }

            if (CboAction != null)
            {
                CboAction.Dispose();
                CboAction = null;
            }

            if (TxtNotes != null)
            {
                TxtNotes.Dispose();
                TxtNotes = null;
            }

            if (CmdOk != null)
            {
                CmdOk.Dispose();
                CmdOk = null;
            }

            if (CmdCancel != null)
            {
                CmdCancel.Dispose();
                CmdCancel = null;
            }
        }
Esempio n. 12
0
        void ReleaseDesignerOutlets()
        {
            if (TxtFilename != null)
            {
                TxtFilename.Dispose();
                TxtFilename = null;
            }

            if (TxtArguments != null)
            {
                TxtArguments.Dispose();
                TxtArguments = null;
            }

            if (ChkWaitEnd != null)
            {
                ChkWaitEnd.Dispose();
                ChkWaitEnd = null;
            }

            if (CmdSave != null)
            {
                CmdSave.Dispose();
                CmdSave = null;
            }

            if (CmdCancel != null)
            {
                CmdCancel.Dispose();
                CmdCancel = null;
            }

            if (CmdBrowse != null)
            {
                CmdBrowse.Dispose();
                CmdBrowse = null;
            }
        }
Esempio n. 13
0
        void ReleaseDesignerOutlets()
        {
            if (CboAdvancedManifestRefresh != null)
            {
                CboAdvancedManifestRefresh.Dispose();
                CboAdvancedManifestRefresh = null;
            }

            if (CboDnsSwitchMode != null)
            {
                CboDnsSwitchMode.Dispose();
                CboDnsSwitchMode = null;
            }

            if (CboGeneralOsxInterfaceStyle != null)
            {
                CboGeneralOsxInterfaceStyle.Dispose();
                CboGeneralOsxInterfaceStyle = null;
            }

            if (CboIpV6 != null)
            {
                CboIpV6.Dispose();
                CboIpV6 = null;
            }

            if (CboLockMode != null)
            {
                CboLockMode.Dispose();
                CboLockMode = null;
            }

            if (CboOpenVpnSndBuf != null)
            {
                CboOpenVpnSndBuf.Dispose();
                CboOpenVpnSndBuf = null;
            }

            if (CboOpenVpnRcvBuf != null)
            {
                CboOpenVpnRcvBuf.Dispose();
                CboOpenVpnRcvBuf = null;
            }

            if (CboProxyAuthentication != null)
            {
                CboProxyAuthentication.Dispose();
                CboProxyAuthentication = null;
            }

            if (CboProxyType != null)
            {
                CboProxyType.Dispose();
                CboProxyType = null;
            }

            if (CboRoutesOtherwise != null)
            {
                CboRoutesOtherwise.Dispose();
                CboRoutesOtherwise = null;
            }

            if (ChkAdvancedCheckRoute != null)
            {
                ChkAdvancedCheckRoute.Dispose();
                ChkAdvancedCheckRoute = null;
            }

            if (ChkAdvancedExpertMode != null)
            {
                ChkAdvancedExpertMode.Dispose();
                ChkAdvancedExpertMode = null;
            }

            if (ChkAdvancedNetworkLocking != null)
            {
                ChkAdvancedNetworkLocking.Dispose();
                ChkAdvancedNetworkLocking = null;
            }

            if (ChkAdvancedOpenVpnDirectivesDefaultSkip != null)
            {
                ChkAdvancedOpenVpnDirectivesDefaultSkip.Dispose();
                ChkAdvancedOpenVpnDirectivesDefaultSkip = null;
            }

            if (ChkAdvancedPingerEnabled != null)
            {
                ChkAdvancedPingerEnabled.Dispose();
                ChkAdvancedPingerEnabled = null;
            }

            if (ChkConnect != null)
            {
                ChkConnect.Dispose();
                ChkConnect = null;
            }

            if (ChkDnsCheck != null)
            {
                ChkDnsCheck.Dispose();
                ChkDnsCheck = null;
            }

            if (ChkExitConfirm != null)
            {
                ChkExitConfirm.Dispose();
                ChkExitConfirm = null;
            }

            if (ChkGeneralOsxNotifications != null)
            {
                ChkGeneralOsxNotifications.Dispose();
                ChkGeneralOsxNotifications = null;
            }

            if (ChkGeneralOsxVisible != null)
            {
                ChkGeneralOsxVisible.Dispose();
                ChkGeneralOsxVisible = null;
            }

            if (ChkGeneralStartLast != null)
            {
                ChkGeneralStartLast.Dispose();
                ChkGeneralStartLast = null;
            }

            if (ChkLockAllowPing != null)
            {
                ChkLockAllowPing.Dispose();
                ChkLockAllowPing = null;
            }

            if (ChkLockAllowPrivate != null)
            {
                ChkLockAllowPrivate.Dispose();
                ChkLockAllowPrivate = null;
            }

            if (ChkLoggingEnabled != null)
            {
                ChkLoggingEnabled.Dispose();
                ChkLoggingEnabled = null;
            }

            if (ChkLogLevelDebug != null)
            {
                ChkLogLevelDebug.Dispose();
                ChkLogLevelDebug = null;
            }

            if (ChkModeAutomatic != null)
            {
                ChkModeAutomatic.Dispose();
                ChkModeAutomatic = null;
            }

            if (ChkModeSsh22 != null)
            {
                ChkModeSsh22.Dispose();
                ChkModeSsh22 = null;
            }

            if (ChkModeSsh22Alt != null)
            {
                ChkModeSsh22Alt.Dispose();
                ChkModeSsh22Alt = null;
            }

            if (ChkModeSsh53 != null)
            {
                ChkModeSsh53.Dispose();
                ChkModeSsh53 = null;
            }

            if (ChkModeSsh80 != null)
            {
                ChkModeSsh80.Dispose();
                ChkModeSsh80 = null;
            }

            if (ChkModeSsl443 != null)
            {
                ChkModeSsl443.Dispose();
                ChkModeSsl443 = null;
            }

            if (ChkModeTcp2018 != null)
            {
                ChkModeTcp2018.Dispose();
                ChkModeTcp2018 = null;
            }

            if (ChkModeTcp2018Alt != null)
            {
                ChkModeTcp2018Alt.Dispose();
                ChkModeTcp2018Alt = null;
            }

            if (ChkModeTcp443 != null)
            {
                ChkModeTcp443.Dispose();
                ChkModeTcp443 = null;
            }

            if (ChkModeTcp53 != null)
            {
                ChkModeTcp53.Dispose();
                ChkModeTcp53 = null;
            }

            if (ChkModeTcp80 != null)
            {
                ChkModeTcp80.Dispose();
                ChkModeTcp80 = null;
            }

            if (ChkModeTor != null)
            {
                ChkModeTor.Dispose();
                ChkModeTor = null;
            }

            if (ChkModeUdp2018 != null)
            {
                ChkModeUdp2018.Dispose();
                ChkModeUdp2018 = null;
            }

            if (ChkModeUdp2018Alt != null)
            {
                ChkModeUdp2018Alt.Dispose();
                ChkModeUdp2018Alt = null;
            }

            if (ChkModeUdp443 != null)
            {
                ChkModeUdp443.Dispose();
                ChkModeUdp443 = null;
            }

            if (ChkModeUdp443Alt != null)
            {
                ChkModeUdp443Alt.Dispose();
                ChkModeUdp443Alt = null;
            }

            if (ChkModeUdp53 != null)
            {
                ChkModeUdp53.Dispose();
                ChkModeUdp53 = null;
            }

            if (ChkModeUdp53Alt != null)
            {
                ChkModeUdp53Alt.Dispose();
                ChkModeUdp53Alt = null;
            }

            if (ChkModeUdp80 != null)
            {
                ChkModeUdp80.Dispose();
                ChkModeUdp80 = null;
            }

            if (ChkModeUdp80Alt != null)
            {
                ChkModeUdp80Alt.Dispose();
                ChkModeUdp80Alt = null;
            }

            if (ChkNetLock != null)
            {
                ChkNetLock.Dispose();
                ChkNetLock = null;
            }

            if (ChkRouteRemoveDefaultGateway != null)
            {
                ChkRouteRemoveDefaultGateway.Dispose();
                ChkRouteRemoveDefaultGateway = null;
            }

            if (CmdAdvancedEventsClear != null)
            {
                CmdAdvancedEventsClear.Dispose();
                CmdAdvancedEventsClear = null;
            }

            if (CmdAdvancedEventsEdit != null)
            {
                CmdAdvancedEventsEdit.Dispose();
                CmdAdvancedEventsEdit = null;
            }

            if (CmdAdvancedHelp != null)
            {
                CmdAdvancedHelp.Dispose();
                CmdAdvancedHelp = null;
            }

            if (CmdAdvancedOpenVpnPath != null)
            {
                CmdAdvancedOpenVpnPath.Dispose();
                CmdAdvancedOpenVpnPath = null;
            }

            if (CmdCancel != null)
            {
                CmdCancel.Dispose();
                CmdCancel = null;
            }

            if (CmdDnsAdd != null)
            {
                CmdDnsAdd.Dispose();
                CmdDnsAdd = null;
            }

            if (CmdDnsEdit != null)
            {
                CmdDnsEdit.Dispose();
                CmdDnsEdit = null;
            }

            if (CmdDnsRemove != null)
            {
                CmdDnsRemove.Dispose();
                CmdDnsRemove = null;
            }

            if (CmdGeneralTos != null)
            {
                CmdGeneralTos.Dispose();
                CmdGeneralTos = null;
            }

            if (CmdLockHelp != null)
            {
                CmdLockHelp.Dispose();
                CmdLockHelp = null;
            }

            if (CmdModeHelp != null)
            {
                CmdModeHelp.Dispose();
                CmdModeHelp = null;
            }

            if (CmdModeTorTest != null)
            {
                CmdModeTorTest.Dispose();
                CmdModeTorTest = null;
            }

            if (CmdRouteAdd != null)
            {
                CmdRouteAdd.Dispose();
                CmdRouteAdd = null;
            }

            if (CmdRouteEdit != null)
            {
                CmdRouteEdit.Dispose();
                CmdRouteEdit = null;
            }

            if (CmdRouteRemove != null)
            {
                CmdRouteRemove.Dispose();
                CmdRouteRemove = null;
            }

            if (CmdSave != null)
            {
                CmdSave.Dispose();
                CmdSave = null;
            }

            if (LblDnsServers != null)
            {
                LblDnsServers.Dispose();
                LblDnsServers = null;
            }

            if (LblLockRoutingOutWarning != null)
            {
                LblLockRoutingOutWarning.Dispose();
                LblLockRoutingOutWarning = null;
            }

            if (LblLoggingHelp != null)
            {
                LblLoggingHelp.Dispose();
                LblLoggingHelp = null;
            }

            if (LblOpenVpnSndBuf != null)
            {
                LblOpenVpnSndBuf.Dispose();
                LblOpenVpnSndBuf = null;
            }

            if (LblOpenVpnRcvBuf != null)
            {
                LblOpenVpnRcvBuf.Dispose();
                LblOpenVpnRcvBuf = null;
            }

            if (LblRoutesNetworkLockWarning != null)
            {
                LblRoutesNetworkLockWarning.Dispose();
                LblRoutesNetworkLockWarning = null;
            }

            if (TableAdvancedEvents != null)
            {
                TableAdvancedEvents.Dispose();
                TableAdvancedEvents = null;
            }

            if (TableDnsServers != null)
            {
                TableDnsServers.Dispose();
                TableDnsServers = null;
            }

            if (TableRoutes != null)
            {
                TableRoutes.Dispose();
                TableRoutes = null;
            }

            if (TxtAdvancedOpenVpnDirectivesCustom != null)
            {
                TxtAdvancedOpenVpnDirectivesCustom.Dispose();
                TxtAdvancedOpenVpnDirectivesCustom = null;
            }

            if (TxtAdvancedOpenVpnDirectivesDefault != null)
            {
                TxtAdvancedOpenVpnDirectivesDefault.Dispose();
                TxtAdvancedOpenVpnDirectivesDefault = null;
            }

            if (TxtAdvancedOpenVpnPath != null)
            {
                TxtAdvancedOpenVpnPath.Dispose();
                TxtAdvancedOpenVpnPath = null;
            }

            if (TxtLockAllowedIPS != null)
            {
                TxtLockAllowedIPS.Dispose();
                TxtLockAllowedIPS = null;
            }

            if (TxtLoggingComputedPath != null)
            {
                TxtLoggingComputedPath.Dispose();
                TxtLoggingComputedPath = null;
            }

            if (TxtLoggingPath != null)
            {
                TxtLoggingPath.Dispose();
                TxtLoggingPath = null;
            }

            if (TxtModeTorControlPassword != null)
            {
                TxtModeTorControlPassword.Dispose();
                TxtModeTorControlPassword = null;
            }

            if (TxtModeTorControlPort != null)
            {
                TxtModeTorControlPort.Dispose();
                TxtModeTorControlPort = null;
            }

            if (TxtModeTorHost != null)
            {
                TxtModeTorHost.Dispose();
                TxtModeTorHost = null;
            }

            if (TxtModeTorPort != null)
            {
                TxtModeTorPort.Dispose();
                TxtModeTorPort = null;
            }

            if (TxtProxyHost != null)
            {
                TxtProxyHost.Dispose();
                TxtProxyHost = null;
            }

            if (TxtProxyLogin != null)
            {
                TxtProxyLogin.Dispose();
                TxtProxyLogin = null;
            }

            if (TxtProxyPassword != null)
            {
                TxtProxyPassword.Dispose();
                TxtProxyPassword = null;
            }

            if (TxtProxyPort != null)
            {
                TxtProxyPort.Dispose();
                TxtProxyPort = null;
            }
        }
Esempio n. 14
0
        void ReleaseDesignerOutlets()
        {
            if (CboKey != null)
            {
                CboKey.Dispose();
                CboKey = null;
            }

            if (CboServersScoringRule != null)
            {
                CboServersScoringRule.Dispose();
                CboServersScoringRule = null;
            }

            if (CboSpeedResolutions != null)
            {
                CboSpeedResolutions.Dispose();
                CboSpeedResolutions = null;
            }

            if (ChkLockedMode != null)
            {
                ChkLockedMode.Dispose();
                ChkLockedMode = null;
            }

            if (ChkRemember != null)
            {
                ChkRemember.Dispose();
                ChkRemember = null;
            }

            if (ChkServersLockCurrent != null)
            {
                ChkServersLockCurrent.Dispose();
                ChkServersLockCurrent = null;
            }

            if (ChkServersShowAll != null)
            {
                ChkServersShowAll.Dispose();
                ChkServersShowAll = null;
            }

            if (CmdAreasBlackList != null)
            {
                CmdAreasBlackList.Dispose();
                CmdAreasBlackList = null;
            }

            if (CmdAreasUndefined != null)
            {
                CmdAreasUndefined.Dispose();
                CmdAreasUndefined = null;
            }

            if (CmdAreasWhiteList != null)
            {
                CmdAreasWhiteList.Dispose();
                CmdAreasWhiteList = null;
            }

            if (CmdCancel != null)
            {
                CmdCancel.Dispose();
                CmdCancel = null;
            }

            if (CmdConnect != null)
            {
                CmdConnect.Dispose();
                CmdConnect = null;
            }

            if (CmdDisconnect != null)
            {
                CmdDisconnect.Dispose();
                CmdDisconnect = null;
            }

            if (CmdLogin != null)
            {
                CmdLogin.Dispose();
                CmdLogin = null;
            }

            if (CmdLogsClean != null)
            {
                CmdLogsClean.Dispose();
                CmdLogsClean = null;
            }

            if (CmdLogsCommand != null)
            {
                CmdLogsCommand.Dispose();
                CmdLogsCommand = null;
            }

            if (CmdLogsCopy != null)
            {
                CmdLogsCopy.Dispose();
                CmdLogsCopy = null;
            }

            if (CmdLogsOpenVpnManagement != null)
            {
                CmdLogsOpenVpnManagement.Dispose();
                CmdLogsOpenVpnManagement = null;
            }

            if (CmdLogsSave != null)
            {
                CmdLogsSave.Dispose();
                CmdLogsSave = null;
            }

            if (CmdLogsSupport != null)
            {
                CmdLogsSupport.Dispose();
                CmdLogsSupport = null;
            }

            if (CmdMainMenu != null)
            {
                CmdMainMenu.Dispose();
                CmdMainMenu = null;
            }

            if (CmdNetworkLock != null)
            {
                CmdNetworkLock.Dispose();
                CmdNetworkLock = null;
            }

            if (CmdProviderAdd != null)
            {
                CmdProviderAdd.Dispose();
                CmdProviderAdd = null;
            }

            if (CmdProviderEdit != null)
            {
                CmdProviderEdit.Dispose();
                CmdProviderEdit = null;
            }

            if (CmdProviderRemove != null)
            {
                CmdProviderRemove.Dispose();
                CmdProviderRemove = null;
            }

            if (CmdServersBlackList != null)
            {
                CmdServersBlackList.Dispose();
                CmdServersBlackList = null;
            }

            if (CmdServersConnect != null)
            {
                CmdServersConnect.Dispose();
                CmdServersConnect = null;
            }

            if (CmdServersMore != null)
            {
                CmdServersMore.Dispose();
                CmdServersMore = null;
            }

            if (CmdServersRefresh != null)
            {
                CmdServersRefresh.Dispose();
                CmdServersRefresh = null;
            }

            if (CmdServersRename != null)
            {
                CmdServersRename.Dispose();
                CmdServersRename = null;
            }

            if (CmdServersUndefined != null)
            {
                CmdServersUndefined.Dispose();
                CmdServersUndefined = null;
            }

            if (CmdServersWhiteList != null)
            {
                CmdServersWhiteList.Dispose();
                CmdServersWhiteList = null;
            }

            if (ImgConnectedCountry != null)
            {
                ImgConnectedCountry.Dispose();
                ImgConnectedCountry = null;
            }

            if (ImgNetworkLock != null)
            {
                ImgNetworkLock.Dispose();
                ImgNetworkLock = null;
            }

            if (ImgProgress != null)
            {
                ImgProgress.Dispose();
                ImgProgress = null;
            }

            if (ImgTopFlag != null)
            {
                ImgTopFlag.Dispose();
                ImgTopFlag = null;
            }

            if (ImgTopPanel != null)
            {
                ImgTopPanel.Dispose();
                ImgTopPanel = null;
            }

            if (LblConnect != null)
            {
                LblConnect.Dispose();
                LblConnect = null;
            }

            if (LblConnectedLocation != null)
            {
                LblConnectedLocation.Dispose();
                LblConnectedLocation = null;
            }

            if (LblConnectedServerName != null)
            {
                LblConnectedServerName.Dispose();
                LblConnectedServerName = null;
            }

            if (LblDevice != null)
            {
                LblDevice.Dispose();
                LblDevice = null;
            }

            if (LblKey != null)
            {
                LblKey.Dispose();
                LblKey = null;
            }

            if (LblLogin != null)
            {
                LblLogin.Dispose();
                LblLogin = null;
            }

            if (LblLoginIcon != null)
            {
                LblLoginIcon.Dispose();
                LblLoginIcon = null;
            }

            if (LblNetLockStatus != null)
            {
                LblNetLockStatus.Dispose();
                LblNetLockStatus = null;
            }

            if (LblPassword != null)
            {
                LblPassword.Dispose();
                LblPassword = null;
            }

            if (LblTopStatus != null)
            {
                LblTopStatus.Dispose();
                LblTopStatus = null;
            }

            if (LblVersion != null)
            {
                LblVersion.Dispose();
                LblVersion = null;
            }

            if (LblWaiting1 != null)
            {
                LblWaiting1.Dispose();
                LblWaiting1 = null;
            }

            if (LblWaiting2 != null)
            {
                LblWaiting2.Dispose();
                LblWaiting2 = null;
            }

            if (MnuAreasBlacklist != null)
            {
                MnuAreasBlacklist.Dispose();
                MnuAreasBlacklist = null;
            }

            if (MnuAreasUndefined != null)
            {
                MnuAreasUndefined.Dispose();
                MnuAreasUndefined = null;
            }

            if (MnuAreasWhitelist != null)
            {
                MnuAreasWhitelist.Dispose();
                MnuAreasWhitelist = null;
            }

            if (MnuLogsCopyAll != null)
            {
                MnuLogsCopyAll.Dispose();
                MnuLogsCopyAll = null;
            }

            if (MnuLogsCopySelected != null)
            {
                MnuLogsCopySelected.Dispose();
                MnuLogsCopySelected = null;
            }

            if (MnuLogsSaveAll != null)
            {
                MnuLogsSaveAll.Dispose();
                MnuLogsSaveAll = null;
            }

            if (MnuLogsSaveSelected != null)
            {
                MnuLogsSaveSelected.Dispose();
                MnuLogsSaveSelected = null;
            }

            if (MnuServersBlacklist != null)
            {
                MnuServersBlacklist.Dispose();
                MnuServersBlacklist = null;
            }

            if (MnuServersConnect != null)
            {
                MnuServersConnect.Dispose();
                MnuServersConnect = null;
            }

            if (MnuServersMore != null)
            {
                MnuServersMore.Dispose();
                MnuServersMore = null;
            }

            if (MnuServersRefresh != null)
            {
                MnuServersRefresh.Dispose();
                MnuServersRefresh = null;
            }

            if (MnuServersRename != null)
            {
                MnuServersRename.Dispose();
                MnuServersRename = null;
            }

            if (MnuServersUndefined != null)
            {
                MnuServersUndefined.Dispose();
                MnuServersUndefined = null;
            }

            if (MnuServersWhitelist != null)
            {
                MnuServersWhitelist.Dispose();
                MnuServersWhitelist = null;
            }

            if (MnuTray != null)
            {
                MnuTray.Dispose();
                MnuTray = null;
            }

            if (MnuTrayAbout != null)
            {
                MnuTrayAbout.Dispose();
                MnuTrayAbout = null;
            }

            if (MnuTrayClientArea != null)
            {
                MnuTrayClientArea.Dispose();
                MnuTrayClientArea = null;
            }

            if (MnuTrayConnect != null)
            {
                MnuTrayConnect.Dispose();
                MnuTrayConnect = null;
            }

            if (MnuTrayForwardingPorts != null)
            {
                MnuTrayForwardingPorts.Dispose();
                MnuTrayForwardingPorts = null;
            }

            if (MnuTrayHome != null)
            {
                MnuTrayHome.Dispose();
                MnuTrayHome = null;
            }

            if (MnuTrayPreferences != null)
            {
                MnuTrayPreferences.Dispose();
                MnuTrayPreferences = null;
            }

            if (MnuTrayQuit != null)
            {
                MnuTrayQuit.Dispose();
                MnuTrayQuit = null;
            }

            if (MnuTrayRestore != null)
            {
                MnuTrayRestore.Dispose();
                MnuTrayRestore = null;
            }

            if (MnuTraySpeedTest != null)
            {
                MnuTraySpeedTest.Dispose();
                MnuTraySpeedTest = null;
            }

            if (MnuTrayStatus != null)
            {
                MnuTrayStatus.Dispose();
                MnuTrayStatus = null;
            }

            if (MnuTrayUpdate != null)
            {
                MnuTrayUpdate.Dispose();
                MnuTrayUpdate = null;
            }

            if (PanelConnected != null)
            {
                PanelConnected.Dispose();
                PanelConnected = null;
            }

            if (PanelWaiting != null)
            {
                PanelWaiting.Dispose();
                PanelWaiting = null;
            }

            if (PanelWelcome != null)
            {
                PanelWelcome.Dispose();
                PanelWelcome = null;
            }

            if (PnlChart != null)
            {
                PnlChart.Dispose();
                PnlChart = null;
            }

            if (ServersContextMenu != null)
            {
                ServersContextMenu.Dispose();
                ServersContextMenu = null;
            }

            if (TableAreas != null)
            {
                TableAreas.Dispose();
                TableAreas = null;
            }

            if (TableLogs != null)
            {
                TableLogs.Dispose();
                TableLogs = null;
            }

            if (TableProviders != null)
            {
                TableProviders.Dispose();
                TableProviders = null;
            }

            if (TableServers != null)
            {
                TableServers.Dispose();
                TableServers = null;
            }

            if (TableStats != null)
            {
                TableStats.Dispose();
                TableStats = null;
            }

            if (TabMain != null)
            {
                TabMain.Dispose();
                TabMain = null;
            }

            if (TabOverview != null)
            {
                TabOverview.Dispose();
                TabOverview = null;
            }

            if (TxtCommand != null)
            {
                TxtCommand.Dispose();
                TxtCommand = null;
            }

            if (TxtConnectedDownload != null)
            {
                TxtConnectedDownload.Dispose();
                TxtConnectedDownload = null;
            }

            if (TxtConnectedExitIp != null)
            {
                TxtConnectedExitIp.Dispose();
                TxtConnectedExitIp = null;
            }

            if (TxtConnectedSince != null)
            {
                TxtConnectedSince.Dispose();
                TxtConnectedSince = null;
            }

            if (TxtConnectedUpload != null)
            {
                TxtConnectedUpload.Dispose();
                TxtConnectedUpload = null;
            }

            if (TxtLogin != null)
            {
                TxtLogin.Dispose();
                TxtLogin = null;
            }

            if (TxtPassword != null)
            {
                TxtPassword.Dispose();
                TxtPassword = null;
            }

            if (CmdUpdater != null)
            {
                CmdUpdater.Dispose();
                CmdUpdater = null;
            }
        }
Esempio n. 15
0
        void ReleaseDesignerOutlets()
        {
            if (CboAdvancedManifestRefresh != null)
            {
                CboAdvancedManifestRefresh.Dispose();
                CboAdvancedManifestRefresh = null;
            }

            if (CboDnsSwitchMode != null)
            {
                CboDnsSwitchMode.Dispose();
                CboDnsSwitchMode = null;
            }

            if (CboGeneralOsxInterfaceStyle != null)
            {
                CboGeneralOsxInterfaceStyle.Dispose();
                CboGeneralOsxInterfaceStyle = null;
            }

            if (CboIpV6 != null)
            {
                CboIpV6.Dispose();
                CboIpV6 = null;
            }

            if (LblIPv6 != null)
            {
                LblIPv6.Dispose();
                LblIPv6 = null;
            }

            if (CboLockIncoming != null)
            {
                CboLockIncoming.Dispose();
                CboLockIncoming = null;
            }

            if (CboLockMode != null)
            {
                CboLockMode.Dispose();
                CboLockMode = null;
            }

            if (CboLockOutgoing != null)
            {
                CboLockOutgoing.Dispose();
                CboLockOutgoing = null;
            }

            if (CboNetworkEntryInterface != null)
            {
                CboNetworkEntryInterface.Dispose();
                CboNetworkEntryInterface = null;
            }

            if (CboOpenVpnDirectivesHelp != null)
            {
                CboOpenVpnDirectivesHelp.Dispose();
                CboOpenVpnDirectivesHelp = null;
            }

            if (CboOpenVpnDirectivesSkipDefault != null)
            {
                CboOpenVpnDirectivesSkipDefault.Dispose();
                CboOpenVpnDirectivesSkipDefault = null;
            }

            if (CboOpenVpnRcvBuf != null)
            {
                CboOpenVpnRcvBuf.Dispose();
                CboOpenVpnRcvBuf = null;
            }

            if (CboOpenVpnSndBuf != null)
            {
                CboOpenVpnSndBuf.Dispose();
                CboOpenVpnSndBuf = null;
            }

            if (CboProtocolIPEntry != null)
            {
                CboProtocolIPEntry.Dispose();
                CboProtocolIPEntry = null;
            }

            if (CboProxyAuthentication != null)
            {
                CboProxyAuthentication.Dispose();
                CboProxyAuthentication = null;
            }

            if (CboProxyType != null)
            {
                CboProxyType.Dispose();
                CboProxyType = null;
            }

            if (LblNetworkIPv4Mode != null)
            {
                LblNetworkIPv4Mode.Dispose();
                LblNetworkIPv4Mode = null;
            }

            if (LblNetworkIPv6Mode != null)
            {
                LblNetworkIPv6Mode.Dispose();
                LblNetworkIPv6Mode = null;
            }

            if (CboNetworkIPv4Mode != null)
            {
                CboNetworkIPv4Mode.Dispose();
                CboNetworkIPv4Mode = null;
            }

            if (CboNetworkIPv6Mode != null)
            {
                CboNetworkIPv6Mode.Dispose();
                CboNetworkIPv6Mode = null;
            }

            if (CboProxyWhen != null)
            {
                CboProxyWhen.Dispose();
                CboProxyWhen = null;
            }

            if (LblRoutesOtherwise != null)
            {
                LblRoutesOtherwise.Dispose();
                LblRoutesOtherwise = null;
            }

            if (CboRoutesOtherwise != null)
            {
                CboRoutesOtherwise.Dispose();
                CboRoutesOtherwise = null;
            }

            if (CboUiUnit != null)
            {
                CboUiUnit.Dispose();
                CboUiUnit = null;
            }

            if (ChkAdvancedCheckRoute != null)
            {
                ChkAdvancedCheckRoute.Dispose();
                ChkAdvancedCheckRoute = null;
            }

            if (ChkAdvancedExpertMode != null)
            {
                ChkAdvancedExpertMode.Dispose();
                ChkAdvancedExpertMode = null;
            }

            if (ChkAdvancedNetworkLocking != null)
            {
                ChkAdvancedNetworkLocking.Dispose();
                ChkAdvancedNetworkLocking = null;
            }

            if (ChkAdvancedPingerEnabled != null)
            {
                ChkAdvancedPingerEnabled.Dispose();
                ChkAdvancedPingerEnabled = null;
            }

            if (ChkAdvancedProviders != null)
            {
                ChkAdvancedProviders.Dispose();
                ChkAdvancedProviders = null;
            }

            if (ChkAdvancedSkipAlreadyRun != null)
            {
                ChkAdvancedSkipAlreadyRun.Dispose();
                ChkAdvancedSkipAlreadyRun = null;
            }

            if (ChkConnect != null)
            {
                ChkConnect.Dispose();
                ChkConnect = null;
            }

            if (ChkDnsCheck != null)
            {
                ChkDnsCheck.Dispose();
                ChkDnsCheck = null;
            }

            if (ChkExitConfirm != null)
            {
                ChkExitConfirm.Dispose();
                ChkExitConfirm = null;
            }

            if (ChkGeneralOsxNotifications != null)
            {
                ChkGeneralOsxNotifications.Dispose();
                ChkGeneralOsxNotifications = null;
            }

            if (ChkGeneralOsxVisible != null)
            {
                ChkGeneralOsxVisible.Dispose();
                ChkGeneralOsxVisible = null;
            }

            if (ChkGeneralStartLast != null)
            {
                ChkGeneralStartLast.Dispose();
                ChkGeneralStartLast = null;
            }

            if (ChkLockAllowDNS != null)
            {
                ChkLockAllowDNS.Dispose();
                ChkLockAllowDNS = null;
            }

            if (ChkLockAllowPing != null)
            {
                ChkLockAllowPing.Dispose();
                ChkLockAllowPing = null;
            }

            if (ChkLockAllowPrivate != null)
            {
                ChkLockAllowPrivate.Dispose();
                ChkLockAllowPrivate = null;
            }

            if (ChkLoggingEnabled != null)
            {
                ChkLoggingEnabled.Dispose();
                ChkLoggingEnabled = null;
            }

            if (ChkLogLevelDebug != null)
            {
                ChkLogLevelDebug.Dispose();
                ChkLogLevelDebug = null;
            }

            if (ChkNetLock != null)
            {
                ChkNetLock.Dispose();
                ChkNetLock = null;
            }

            if (ChkProtocolsAutomatic != null)
            {
                ChkProtocolsAutomatic.Dispose();
                ChkProtocolsAutomatic = null;
            }

            if (ChkRouteRemoveDefaultGateway != null)
            {
                ChkRouteRemoveDefaultGateway.Dispose();
                ChkRouteRemoveDefaultGateway = null;
            }

            if (ChkUiIEC != null)
            {
                ChkUiIEC.Dispose();
                ChkUiIEC = null;
            }

            if (ChkUiSystemBarShowInfo != null)
            {
                ChkUiSystemBarShowInfo.Dispose();
                ChkUiSystemBarShowInfo = null;
            }

            if (ChkUiSystemBarShowServer != null)
            {
                ChkUiSystemBarShowServer.Dispose();
                ChkUiSystemBarShowServer = null;
            }

            if (ChkUiSystemBarShowSpeed != null)
            {
                ChkUiSystemBarShowSpeed.Dispose();
                ChkUiSystemBarShowSpeed = null;
            }

            if (CmdAdvancedEventsClear != null)
            {
                CmdAdvancedEventsClear.Dispose();
                CmdAdvancedEventsClear = null;
            }

            if (CmdAdvancedEventsEdit != null)
            {
                CmdAdvancedEventsEdit.Dispose();
                CmdAdvancedEventsEdit = null;
            }

            if (CmdAdvancedHelp != null)
            {
                CmdAdvancedHelp.Dispose();
                CmdAdvancedHelp = null;
            }

            if (CmdAdvancedOpenVpnPath != null)
            {
                CmdAdvancedOpenVpnPath.Dispose();
                CmdAdvancedOpenVpnPath = null;
            }

            if (CmdCancel != null)
            {
                CmdCancel.Dispose();
                CmdCancel = null;
            }

            if (CmdDnsAdd != null)
            {
                CmdDnsAdd.Dispose();
                CmdDnsAdd = null;
            }

            if (CmdDnsEdit != null)
            {
                CmdDnsEdit.Dispose();
                CmdDnsEdit = null;
            }

            if (CmdDnsRemove != null)
            {
                CmdDnsRemove.Dispose();
                CmdDnsRemove = null;
            }

            if (CmdGeneralTos != null)
            {
                CmdGeneralTos.Dispose();
                CmdGeneralTos = null;
            }

            if (CmdLockHelp != null)
            {
                CmdLockHelp.Dispose();
                CmdLockHelp = null;
            }

            if (CmdLoggingOpen != null)
            {
                CmdLoggingOpen.Dispose();
                CmdLoggingOpen = null;
            }

            if (CmdOpenVpnDirectivesCustomPathBrowse != null)
            {
                CmdOpenVpnDirectivesCustomPathBrowse.Dispose();
                CmdOpenVpnDirectivesCustomPathBrowse = null;
            }

            if (CmdOpenVpnDirectivesHelp != null)
            {
                CmdOpenVpnDirectivesHelp.Dispose();
                CmdOpenVpnDirectivesHelp = null;
            }

            if (CmdProtocolsHelp1 != null)
            {
                CmdProtocolsHelp1.Dispose();
                CmdProtocolsHelp1 = null;
            }

            if (CmdProtocolsHelp2 != null)
            {
                CmdProtocolsHelp2.Dispose();
                CmdProtocolsHelp2 = null;
            }

            if (CmdProxyTorHelp != null)
            {
                CmdProxyTorHelp.Dispose();
                CmdProxyTorHelp = null;
            }

            if (CmdProxyTorTest != null)
            {
                CmdProxyTorTest.Dispose();
                CmdProxyTorTest = null;
            }

            if (CmdResetToDefault != null)
            {
                CmdResetToDefault.Dispose();
                CmdResetToDefault = null;
            }

            if (CmdRouteAdd != null)
            {
                CmdRouteAdd.Dispose();
                CmdRouteAdd = null;
            }

            if (CmdRouteEdit != null)
            {
                CmdRouteEdit.Dispose();
                CmdRouteEdit = null;
            }

            if (CmdRouteRemove != null)
            {
                CmdRouteRemove.Dispose();
                CmdRouteRemove = null;
            }

            if (CmdSave != null)
            {
                CmdSave.Dispose();
                CmdSave = null;
            }

            if (LblAdvancedProviders != null)
            {
                LblAdvancedProviders.Dispose();
                LblAdvancedProviders = null;
            }

            if (LblDnsServers != null)
            {
                LblDnsServers.Dispose();
                LblDnsServers = null;
            }

            if (LblLockRoutingOutWarning != null)
            {
                LblLockRoutingOutWarning.Dispose();
                LblLockRoutingOutWarning = null;
            }

            if (LblLoggingHelp != null)
            {
                LblLoggingHelp.Dispose();
                LblLoggingHelp = null;
            }

            if (LblOpenVpnRcvBuf != null)
            {
                LblOpenVpnRcvBuf.Dispose();
                LblOpenVpnRcvBuf = null;
            }

            if (LblOpenVpnSndBuf != null)
            {
                LblOpenVpnSndBuf.Dispose();
                LblOpenVpnSndBuf = null;
            }

            if (LblRoutesNetworkLockWarning != null)
            {
                LblRoutesNetworkLockWarning.Dispose();
                LblRoutesNetworkLockWarning = null;
            }

            if (TableAdvancedEvents != null)
            {
                TableAdvancedEvents.Dispose();
                TableAdvancedEvents = null;
            }

            if (TableDnsServers != null)
            {
                TableDnsServers.Dispose();
                TableDnsServers = null;
            }

            if (TableProtocols != null)
            {
                TableProtocols.Dispose();
                TableProtocols = null;
            }

            if (TableRoutes != null)
            {
                TableRoutes.Dispose();
                TableRoutes = null;
            }

            if (TableTabs != null)
            {
                TableTabs.Dispose();
                TableTabs = null;
            }

            if (TabMain != null)
            {
                TabMain.Dispose();
                TabMain = null;
            }

            if (TxtAdvancedOpenVpnDirectivesCustom != null)
            {
                TxtAdvancedOpenVpnDirectivesCustom.Dispose();
                TxtAdvancedOpenVpnDirectivesCustom = null;
            }

            if (TxtAdvancedOpenVpnDirectivesDefault != null)
            {
                TxtAdvancedOpenVpnDirectivesDefault.Dispose();
                TxtAdvancedOpenVpnDirectivesDefault = null;
            }

            if (TxtAdvancedOpenVpnPath != null)
            {
                TxtAdvancedOpenVpnPath.Dispose();
                TxtAdvancedOpenVpnPath = null;
            }

            if (TxtLockAllowedIPS != null)
            {
                TxtLockAllowedIPS.Dispose();
                TxtLockAllowedIPS = null;
            }

            if (TxtLoggingComputedPath != null)
            {
                TxtLoggingComputedPath.Dispose();
                TxtLoggingComputedPath = null;
            }

            if (TxtLoggingPath != null)
            {
                TxtLoggingPath.Dispose();
                TxtLoggingPath = null;
            }

            if (TxtOpenVpnDirectivesCustomPath != null)
            {
                TxtOpenVpnDirectivesCustomPath.Dispose();
                TxtOpenVpnDirectivesCustomPath = null;
            }

            if (TxtProxyHost != null)
            {
                TxtProxyHost.Dispose();
                TxtProxyHost = null;
            }

            if (TxtProxyLogin != null)
            {
                TxtProxyLogin.Dispose();
                TxtProxyLogin = null;
            }

            if (TxtProxyPassword != null)
            {
                TxtProxyPassword.Dispose();
                TxtProxyPassword = null;
            }

            if (TxtProxyPort != null)
            {
                TxtProxyPort.Dispose();
                TxtProxyPort = null;
            }

            if (TxtProxyTorControlPassword != null)
            {
                TxtProxyTorControlPassword.Dispose();
                TxtProxyTorControlPassword = null;
            }

            if (TxtProxyTorControlPort != null)
            {
                TxtProxyTorControlPort.Dispose();
                TxtProxyTorControlPort = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (ChkEnabled != null)
            {
                ChkEnabled.Dispose();
                ChkEnabled = null;
            }

            if (CmdCancel != null)
            {
                CmdCancel.Dispose();
                CmdCancel = null;
            }

            if (CmdOk != null)
            {
                CmdOk.Dispose();
                CmdOk = null;
            }

            if (CmdPathBrowse != null)
            {
                CmdPathBrowse.Dispose();
                CmdPathBrowse = null;
            }

            if (LblSubtitle != null)
            {
                LblSubtitle.Dispose();
                LblSubtitle = null;
            }

            if (LblTitle != null)
            {
                LblTitle.Dispose();
                LblTitle = null;
            }

            if (TxtAuthPassPassword != null)
            {
                TxtAuthPassPassword.Dispose();
                TxtAuthPassPassword = null;
            }

            if (TxtAuthPassUsername != null)
            {
                TxtAuthPassUsername.Dispose();
                TxtAuthPassUsername = null;
            }

            if (TxtPath != null)
            {
                TxtPath.Dispose();
                TxtPath = null;
            }

            if (ChkSupportIPv6 != null)
            {
                ChkSupportIPv6.Dispose();
                ChkSupportIPv6 = null;
            }

            if (TxtTitle != null)
            {
                TxtTitle.Dispose();
                TxtTitle = null;
            }
        }