コード例 #1
0
        void ReleaseDesignerOutlets()
        {
            if (AraBgView != null)
            {
                AraBgView.Dispose();
                AraBgView = null;
            }

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

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

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

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

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

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

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

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

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

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