void ReleaseDesignerOutlets() { if (PickerViewSelect != null) { PickerViewSelect.Dispose(); PickerViewSelect = null; } if (SettingsView != null) { SettingsView.Dispose(); SettingsView = null; } if (SwipeLabel != null) { SwipeLabel.Dispose(); SwipeLabel = null; } if (SwitchLabel != null) { SwitchLabel.Dispose(); SwitchLabel = null; } if (ViberateSwitch != null) { ViberateSwitch.Dispose(); ViberateSwitch = null; } }
public void ShowDialog() { var window = new SettingsView(); window.StartPosition = FormStartPosition.CenterScreen; window.ShowDialog(); window.Dispose(); }
void ReleaseDesignerOutlets() { if (BarButtonReset != null) { BarButtonReset.Dispose(); BarButtonReset = null; } if (LabelCanvasPassword != null) { LabelCanvasPassword.Dispose(); LabelCanvasPassword = null; } if (LabelSid != null) { LabelSid.Dispose(); LabelSid = null; } if (LabelStoreMapData != null) { LabelStoreMapData.Dispose(); LabelStoreMapData = null; } if (LabelStudentEmail != null) { LabelStudentEmail.Dispose(); LabelStudentEmail = null; } if (LabelStudentEmailPassword != null) { LabelStudentEmailPassword.Dispose(); LabelStudentEmailPassword = null; } if (SettingsView != null) { SettingsView.Dispose(); SettingsView = null; } if (TextFieldCanvasPassword != null) { TextFieldCanvasPassword.Dispose(); TextFieldCanvasPassword = null; } if (TextFieldSid != null) { TextFieldSid.Dispose(); TextFieldSid = null; } if (TextFieldStudentEmail != null) { TextFieldStudentEmail.Dispose(); TextFieldStudentEmail = null; } if (TextFieldStudentEmailPassword != null) { TextFieldStudentEmailPassword.Dispose(); TextFieldStudentEmailPassword = null; } }
void ReleaseDesignerOutlets() { if (MenuBackgroundView != null) { MenuBackgroundView.Dispose(); MenuBackgroundView = null; } if (SettingsView != null) { SettingsView.Dispose(); SettingsView = null; } if (ViewHistoryView != null) { ViewHistoryView.Dispose(); ViewHistoryView = null; } }
void ReleaseDesignerOutlets() { if (AntiTrackerSettings != null) { AntiTrackerSettings.Dispose(); AntiTrackerSettings = null; } if (ConnectionSettingsView != null) { ConnectionSettingsView.Dispose(); ConnectionSettingsView = null; } if (DnsSettings != null) { DnsSettings.Dispose(); DnsSettings = null; } if (FirewallSettingsView != null) { FirewallSettingsView.Dispose(); FirewallSettingsView = null; } if (GeneralSettingsView != null) { GeneralSettingsView.Dispose(); GeneralSettingsView = null; } if (GuiBtnFirewallTypeAlwaysOn != null) { GuiBtnFirewallTypeAlwaysOn.Dispose(); GuiBtnFirewallTypeAlwaysOn = null; } if (GuiBtnFirewallTypeOnDemand != null) { GuiBtnFirewallTypeOnDemand.Dispose(); GuiBtnFirewallTypeOnDemand = null; } if (GuiBtnLaunchAtLogin != null) { GuiBtnLaunchAtLogin.Dispose(); GuiBtnLaunchAtLogin = null; } if (GuiBtnProtocolTypeOpenVPN != null) { GuiBtnProtocolTypeOpenVPN.Dispose(); GuiBtnProtocolTypeOpenVPN = null; } if (GuiBtnProtocolTypeWireGuard != null) { GuiBtnProtocolTypeWireGuard.Dispose(); GuiBtnProtocolTypeWireGuard = null; } if (GuiBtnWireguardTooltip != null) { GuiBtnWireguardTooltip.Dispose(); GuiBtnWireguardTooltip = null; } if (GuiButtonOpenvpnTooltip != null) { GuiButtonOpenvpnTooltip.Dispose(); GuiButtonOpenvpnTooltip = null; } if (GuiPanelOpenvpnTooltip != null) { GuiPanelOpenvpnTooltip.Dispose(); GuiPanelOpenvpnTooltip = null; } if (GuiPanelWireguardConfigDetails != null) { GuiPanelWireguardConfigDetails.Dispose(); GuiPanelWireguardConfigDetails = null; } if (GuiPanelWireguardTooltip != null) { GuiPanelWireguardTooltip.Dispose(); GuiPanelWireguardTooltip = null; } if (GuiProgressViewWireguardKeysGeneration != null) { GuiProgressViewWireguardKeysGeneration.Dispose(); GuiProgressViewWireguardKeysGeneration = null; } if (GuiProgressWireguardKeysGeneration != null) { GuiProgressWireguardKeysGeneration.Dispose(); GuiProgressWireguardKeysGeneration = null; } if (GuiProtocolsConfigTabView != null) { GuiProtocolsConfigTabView.Dispose(); GuiProtocolsConfigTabView = null; } if (GuiTabConfigOpenVPN != null) { GuiTabConfigOpenVPN.Dispose(); GuiTabConfigOpenVPN = null; } if (GuiTabConfigWireGuard != null) { GuiTabConfigWireGuard.Dispose(); GuiTabConfigWireGuard = null; } if (GuiViewWireguardConfig != null) { GuiViewWireguardConfig.Dispose(); GuiViewWireguardConfig = null; } if (GuiWireguardConfigDetailsProgressIndicator != null) { GuiWireguardConfigDetailsProgressIndicator.Dispose(); GuiWireguardConfigDetailsProgressIndicator = null; } if (GuiWireguardConfigDetailsView != null) { GuiWireguardConfigDetailsView.Dispose(); GuiWireguardConfigDetailsView = null; } if (GuiWireguardConfigDetailsViewProgress != null) { GuiWireguardConfigDetailsViewProgress.Dispose(); GuiWireguardConfigDetailsViewProgress = null; } if (GuiWireGuardDescription != null) { GuiWireGuardDescription.Dispose(); GuiWireGuardDescription = null; } if (NetworksDefaultActionBtn != null) { NetworksDefaultActionBtn.Dispose(); NetworksDefaultActionBtn = null; } if (NetworksSettings != null) { NetworksSettings.Dispose(); NetworksSettings = null; } if (NetworksView != null) { NetworksView.Dispose(); NetworksView = null; } if (OpenVPNSettings != null) { OpenVPNSettings.Dispose(); OpenVPNSettings = null; } if (OpenVpnViewExtraParameters != null) { OpenVpnViewExtraParameters.Dispose(); OpenVpnViewExtraParameters = null; } if (SettingsView != null) { SettingsView.Dispose(); SettingsView = null; } if (Toolbar != null) { Toolbar.Dispose(); Toolbar = null; } if (GuiOpenVpnUserConfigFile != null) { GuiOpenVpnUserConfigFile.Dispose(); GuiOpenVpnUserConfigFile = null; } }
public override void Dispose() { base.Dispose(); view.Dispose(); }