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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (UserTitle != null)
            {
                UserTitle.Dispose();
                UserTitle = null;
            }
        }
示例#2
0
        void ReleaseDesignerOutlets()
        {
            if (BackButton != null)
            {
                BackButton.Dispose();
                BackButton = null;
            }

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

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

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

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

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

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

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

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

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