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

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

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

            if (SettingsTableView != null)
            {
                SettingsTableView.Dispose();
                SettingsTableView = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (CurrentLocationSwitch != null)
            {
                CurrentLocationSwitch.Dispose();
                CurrentLocationSwitch = null;
            }

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