Exemplo n.º 1
0
        void ReleaseDesignerOutlets()
        {
            if (GetLocationButton != null)
            {
                GetLocationButton.Dispose();
                GetLocationButton = null;
            }

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

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

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

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

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

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

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

            if (YesButton != null)
            {
                YesButton.Dispose();
                YesButton = null;
            }
        }
Exemplo n.º 3
0
        void ReleaseDesignerOutlets()
        {
            if (EngineLabel != null)
            {
                EngineLabel.Dispose();
                EngineLabel = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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